如何获取Matlab或Octave中所有已定义变量的列表? [英] How can I get a list of all the defined variables in Matlab or Octave?

查看:328
本文介绍了如何获取Matlab或Octave中所有已定义变量的列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我习惯使用其完整的GUI环境在Matlab中工作.由于许可证问题,我去安装了Octave,但它似乎没有GUI,至少没有默认安装的GUI.

I'm used to working in Matlab using its full GUI environment. Due to license issues I went and installed Octave, but it appears that it doesn't have a GUI, at least not one that's installed by default.

我将变量从Matlab转移到Octave,方法是在Matlab中save对其进行变量,在Octave中将其load进行变量.事实是,我不记得这些名字了,因为我已经习惯于在我不再拥有的小工作区窗口中看到它们.

I transferred the variables from Matlab to Octave by saveing them in Matlab and loading them in Octave. Thing is, I don't remember the names because I got used to seeing them in the little workspace window which I no longer have.

如何在Octave中查看已定义变量及其类型的列表?

How can I see the list of defined variables and their types in Octave?

推荐答案

命令 会做到这一点.

这篇关于如何获取Matlab或Octave中所有已定义变量的列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆