Can I run Simulink models using python program?

2 views (last 30 days)
I am working on a Python based simulation framework.Can I run Simulink models (block diagram) from python externally (no need to load within python program) and extract the results into python to plot results?

Answers (1)

Gareth Thomas
Gareth Thomas on 14 Aug 2017
Have you seen the MATLAB Engine API for Python?
If you are looking how to invoke Simulink from MATLAB... you can use the sim command sim: Simulink Dynamic System

Community Treasure Hunt

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

Start Hunting!