linking simulink from m-file

8 views (last 30 days)
how to link a model from a m-file? plz tel

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 23 Jan 2012
To call MATLAB code from a Simulink model, use one of the three MATLAB Function Blocks available. To run Simulink models from MATLAB, use the sim command. Also see Command Line Functionality for Simulink.
  7 Comments
Md Toukir Hasan
Md Toukir Hasan on 24 Jan 2021
What is the actual syntax of calling simulink file in matlab script? Version is 2020b. Quick response please
Steven Lord
Steven Lord on 25 Jan 2021
https://www.mathworks.com/help/simulink/run-individual-simulations.html

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!