Python Script Simulink Real Time

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

답변 (1개)

Rushikesh
Rushikesh 2024년 9월 17일
편집: Rushikesh 2024년 9월 18일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2023b

질문:

2024년 2월 22일

편집:

2024년 9월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by