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

조회 수: 21 (최근 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 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