How can I get a list of all the defined variables in Matlab or Octave?

后端 未结 3 1818
生来不讨喜
生来不讨喜 2020-12-30 22:40

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 o

相关标签:
3条回答
  • 2020-12-30 23:04

    The command whos will do just that.

    0 讨论(0)
  • 2020-12-30 23:08

    You can use a GUI similar to Matlab, such as QtOctave or GUIOctave.

    0 讨论(0)
  • 2020-12-30 23:16

    With the command whos you can even see the variables that the file has WITHOUT opening the file, to be assure that this file is the one.

    For example, the name of the file is MyVariables.mat

    use:

    whos('-file','MyVariables.mat')
    
    0 讨论(0)
提交回复
热议问题