Open variables workspace in new window?

Is it possible to open a workspace stored as .mat file in a new window assuming that my program runs as function (and not as a script) and the callback function performing such a task is a function nested into it (and called by a pushbutton)?

3 commentaires

Adam
Adam le 15 Nov 2019
As far as I am aware there is only one workspace window per instance or Matlab. But also you can only be actively in one workspace at any given time. If you are running through a string of nested function calls you can use the callstack to take you up to the parent workspace, but I don't believe you can open another workspace window within the same Matlab instance.
Giuseppe Antonio
Giuseppe Antonio le 15 Nov 2019
Modifié(e) : Giuseppe Antonio le 15 Nov 2019
Okay, thanks! Now, forgetting about multiple workspace problem. If I want to edit variables of my current workspace, normally it's done in the usual default window ("Variables - ...") near the program code. Is it possible somehow to place it differently and separate it from the main window? The reason I want to do it just for aesthetics. I basically want to let the user edit a given variable but in a separate window he can open with a pushbutton.
Adam
Adam le 15 Nov 2019
All Matlab windows have a little down arrow menu in the top right that allow you to undock or redock them. You can also click in the title bar of any window, such as Variables and drag it around to dock elsewhere inside or outside of the main Matlab window.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Entering Commands dans Centre d'aide et File Exchange

Produits

Version

R2016a

Commenté :

le 15 Nov 2019

Community Treasure Hunt

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

Start Hunting!

Translated by