Python Script Simulink Real Time

2 visualizaciones (últimos 30 días)
Diede Hilhorst
Diede Hilhorst el 22 de Feb. de 2024
Editada: Rushikesh el 18 de Sept. de 2024
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

Respuestas (1)

Rushikesh
Rushikesh el 17 de Sept. de 2024
Editada: Rushikesh el 18 de Sept. de 2024
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.

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by