Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Adress figures without creating them

1 visualización (últimos 30 días)
Christian Tieber
Christian Tieber el 5 de Jun. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have a matlabscript with 50+ figures.
I would like to built a GUI where i can choose out of a list of all the available figures and then execute only the choosen ones. (Without executing the whole script in the first place. I know how to adress open figures. But thats not the question)
How can i do that?
Thanks for your help!
Chris
  3 comentarios
Christian Tieber
Christian Tieber el 5 de Jun. de 2019
Thanks for your help. And how can i get a list of all nested functions in my code?
Adam Danz
Adam Danz el 5 de Jun. de 2019
I suggest you build the list manually. Let's say the user selected 5 figure (i = 5)
for i = 1:numberSelected
switch choice(i)
case 1
plotFigure1(...)
case 2
plotFigure2(...)
case 3
plotFigure3(...)
case 4
etc..
end
end
But to answer your question, see this

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by