How do I run an "example.m" file in Simulink?
3 views (last 30 days)
Show older comments
My MATLAB code is written in example.m. Now, how do I run this example.m file in Simulink?
0 Comments
Answers (1)
Jonas
on 5 Feb 2021
Edited: Jonas
on 5 Feb 2021
In the MATLAB workspace type and enter:
>> example
Or, go to the editor and click the green play button 'Run'.
Or press the 'F5' button when inside the editor.
Or in the MATLAB file explorer, right click the file and select 'Run'.
Or in the MATLAB file explorer, right click the file and press 'F9'.
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!