Display a plot from simulink in a seperate window to GUI
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Henry
el 8 de Jul. de 2013
Comentada: Ali Osman
el 1 de Sept. de 2015
Hi,
I'm using a GUI to run a simulink model and then plotting the results.
However, when i plot those results, the graph shows up in my GUI window behind the buttons/text boxes and is difficult to see.
Is there a way so that the plots will display in a new window? Much like they do when you select a scope in simulink for example.
Thanks
0 comentarios
Respuesta aceptada
David Sanchez
el 8 de Jul. de 2013
You have several options for that. You could place an axes object within your GUI. This axes will have a tag assigned (see property inspector). Just tell plot where to plot the data by referencing your axes:
plot(X,Y,'Parent', handles.axes_tag)
3 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Graphics Objects en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!