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

21 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by