简体   繁体   English

GNU Octave保存整个工作区

[英]GNU Octave Save entire workspace

I can save individual variables fine in Octave, but i'm stuck when it comes to saving the entire workspace (ie, the whole screen with everything I've written on it) 我可以在Octave中很好地保存各个变量,但是在保存整个工作区(即整个屏幕以及我在其中编写的所有内容)时会遇到麻烦

eg 例如

save file1 load file1 保存文件1加载文件1

Doesn't seem to do anything 似乎什么也没做

Any help greatly appreciated 任何帮助,不胜感激

David B 大卫·B

I do not think what you describe is a feature within Octave. 我认为您描述的不是Octave中的功能。 You can save variables and the command history, see the description linked below, but I don't think its possible to save "the whole screen with everything I've written on it". 您可以保存变量和命令历史记录,请参见下面的链接说明,但是我认为无法保存“整个屏幕以及我写的所有内容”。 Maybe if you better describe what elements you'd like to recover, specific instructions could be given. 也许,如果您能更好地描述要恢复的元素,则可以给出具体说明。

Note that you aren't creating a "math document" like in Mathematica or GNU Maxima. 请注意,您不会像在Mathematica或GNU Maxima中那样创建“数学文档”。 This is a command interpreter, and recording commands entered and variables used is the usual extent of things to save. 这是一个命令解释器,记录输入的命令和使用的变量是通常要保存的内容。

https://phoxis.org/2013/04/06/save-work-environment-in-octave/ https://phoxis.org/2013/04/06/save-work-environment-in-octave/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM