How to get data from simulink output to get displayed in numericfield of GUI created using app designer?

1 visualización (últimos 30 días)
hi,
i was trying to get the output data from simulink using 'to workspace' block.The data needs to be read by a GUI designed using MATLAB app designer.The GUI has a button, when pushed should cause simulink modal to run and return the output data and display it in the numericfield provided.I am not able to understand how the data shall be read by the app.I tried to get data using to workspace.But the problem is ,when GUI button is pushed,the simulink model will run but the ouput data is not being written to workspace.(if the simulink model is direcly run by pressing run button,then only output data is written in workspace).AM using MATLAB 2016a version.can anyone suggest any methods?

Respuestas (0)

Categorías

Más información sobre Modeling 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