Is there a way to make Simulink run automatically when I run a MATLAB m file?

1 view (last 30 days)
I want to know how to make Simulink run automatically when I run a MATLAB m file.

Accepted Answer

ES
ES on 30 Mar 2017
Edited: ES on 30 Mar 2017
If you want to load simulink while running the m file, you can simply call
simulink
in your code. If you want to open a model, run it etc, try
open_system
load_system
sim
commands in your m file.

More Answers (0)

Categories

Find more on Simulink 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!