How to exchange data between Simulink model and App Designer when run in EXTERNAL MODE?
Show older comments
I wanted to test an equipment and observe the results with change in parameters. In order to communicate with the equipment I used HUMUSOFT multi-function card and created a Simulink Desktop Real-Time model which is, my model runs in external mode. To make the observation process simpler I wanted to create a Matlab app with the help of App Designer.
Now, I need help in getting data from simulink model(external mode) to App Designer.
Note: I just wanted to inform that, I know about 'sim' command and it works perfectly fine for normal mode and not for an external mode. For external mode I know about using 'set_param' but I am unable to get the data from simulink model( I tried using this command in an external model with a 'To Workspace' block).
I would be glad if someone provides me with any helpful links or an examples.
Accepted Answer
More Answers (1)
Does this example learn anything?
openExample('SlrtAddAppDesignerAppToInvertedPendulumModelExample');
app = slrt_ex_pendulumApp;
Categories
Find more on Model Preparation for Real-Time Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!