Can I run a Simulink model in real time on a general Linux target?

20 ビュー (過去 30 日間)
Martin Gurtner
Martin Gurtner 2020 年 1 月 27 日
回答済み: Prasanna Gude 2020 年 3 月 6 日
Is there a way of running a Simulink model in real time on a general Linux target? I would need pretty much the same as the Raspberry Pi Support package does, with the exception that the model would run on a general x86-64 machine with Linux installed. At first, I thought that this is exactly what the "Run on Custom Hardware" App in Simulink does, but even when one uses this app and the "Generic Real-time Target (grt.tlc)", the model paces way faster than real time.

回答 (1 件)

Prasanna Gude
Prasanna Gude 2020 年 3 月 6 日
Yes, a Simulink model can be run on a general Linux Target. Refer to the following link to know about running a Simulink model on Linux Target (Raspberry Pi Hardware):
The simulation of “Generic Real-time Target (grt.tlc)”is executed at a rate corresponding to the model’s sampling rate. To know more about the simulation of Generic Real-time Target, refer to the following link:

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by