Python Script Simulink Real Time
2 views (last 30 days)
Show older comments
Good afternoon,
In Simulink you can intergrate Python script into the model, does that also work for External Mode Simulation for Simulink Real Time?
Kind regards,
Diede
0 Comments
Answers (1)
Rushikesh
on 17 Sep 2024
Edited: Rushikesh
on 18 Sep 2024
Hello @Diede Hilhorst
Since External Mode Simulation in Simulink Real-Time allows Simulink model to interact with real-time application running on target hardware. This involves producing C/C++ code from Simulink to run on target hardware and as per my knowledge, MATLAB R2023b currently does not support code generation from python code.
I suggest to try replacing python code with equivalent MATLAB or C/C++ for deployment.
0 Comments
See Also
Categories
Find more on Call Python from MATLAB 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!