Search code examples
matlabcommand-line-interfaceoctaveworkspace

See workspace in MATLAB command line terminal


Is there any command to see all variable names, types and values in command line interface? Similar to Matlab's Workspace? I already know about command whos but it doesn't show the values, It just shows names and types.

Thanks :)


Solution

  • try this:

    vals = who;
    for val = vals
        eval(val.name)
    end