GUI - To run a matlab script from gui

1 visualización (últimos 30 días)
Luffy
Luffy el 25 de Jun. de 2012
I plotted a graph and created a gui for line width,style,color.....,of graph and now I want to run script from gui with new settings. How do i do that ?

Respuestas (1)

Walter Roberson
Walter Roberson el 25 de Jun. de 2012
Just give the name of the script (without the '.m') as a line in the callback of the GUI. For example if the script file is named DoMyGraph.m then to run it from the GUI callback, include the line
DoMyGraph
  1 comentario
Luffy
Luffy el 26 de Jun. de 2012
Yeah,I did that and i used assignin command to change settings so that they are changed in base work space, they changed in base work space but did not get applied to plot,how to solve this problem.

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by