Live Script Editor, 'View Variable' option

37 views (last 30 days)
Is there a way for the 'view variable' option in the output panel of Live Editor to open the Variable Editor with a focus on the selected variable ?
i.e. having this option:
to open a window like this:
instead of this window:
If not could this option be considered in a future release ?
And if not what could be the reason ?

Accepted Answer

Ayush Bansal
Ayush Bansal on 3 Sep 2020
Edited: Ayush Bansal on 3 Sep 2020
  1. View the variable in workspace and check the variable value at every step using step in.
  2. Use the function openvar(‘variable name’) to open the variable in variable editor.
Right now, Matlab doesn’t support to open variable editor from view variable option, I have brought this issue to the concerned people and it might be considered in any future release.
  2 Comments
Antoine Rouget
Antoine Rouget on 3 Sep 2020
Edited: Antoine Rouget on 3 Sep 2020
Thank you for the answer, for now I will keep doing as before (opening variables by selecting them in the Workspace window) or I will use your second method, even if they are not as practical as I wished.
(So for the moment I don't really see the point of this 'view variable' option)
Anyways I'm glad to read this idea might be considered in a future release.
Walter Roberson
Walter Roberson on 3 Sep 2020
The existing variable viewer is Java based. Livescript is attempting to move to JavaScript without Java, so it has a new variable viewer

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!