Python Script Simulink Real Time

6 ビュー (過去 30 日間)
Diede Hilhorst
Diede Hilhorst 2024 年 2 月 22 日
編集済み: Rushikesh 2024 年 9 月 18 日
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 日
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.

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by