How I can export a simulink scope to an interface created with app designer?

9 visualizaciones (últimos 30 días)
I'm developing a user interface with the new Matlab toolbox (app designer) to control a simulink model. Can I represent a scope on the interface while the simulink model is running? I want the graph in the interface and the scope of the model to be represented at the same time. I have been able to take the values of the scope to the workspace through the block "to workspace" and then take them to the interface to represent them in a plot but to do this I have to stop the simulation. Thank you.

Respuesta aceptada

Mandar Patwardhan
Mandar Patwardhan el 1 de Ag. de 2017
This feature does not exist in R2017a. However, you can get access to the data while the simulation is running and use this data to plot the output in your App Designer Interface.
Use the above link to read about how to access the data while the simulation is running.
  1 comentario
saleh said bouhliga
saleh said bouhliga el 16 de Oct. de 2020
hi
Solution to your question see here
https://se.mathworks.com/matlabcentral/fileexchange/73613-interface-between-matlab-app-and-simulink?s_tid=answers_rc2-1_p4_Topic

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre View and Analyze Simulation Results en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by