How to Run Simulink Model from Matlab while in External Mode

I am using Real-Time Windows Target to build a simulink model. I was wondering if there is a way to run this model in matlab.
I know that for normal mode, I can use 'sim' command to run the simulation ... Is there an equivalent command for models which are in external mode?

Answers (1)

This section of the documentation explains how to achieve that: Running an Application from the Command Line. It appears to be similar to running external mode from command-line for any model (not necessarily configured with Real-Time Windows Target).

Community Treasure Hunt

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

Start Hunting!