MATLAB: How to export a simulink scope to an interface created with app designer

app designerscopesimulink

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.

Best Answer

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.