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

21 visualizaciones (últimos 30 días)
Martin Gurtner
Martin Gurtner el 27 de En. de 2020
Respondida: Prasanna Gude el 6 de Mzo. de 2020
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.

Respuestas (1)

Prasanna Gude
Prasanna Gude el 6 de Mzo. de 2020
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:

Categorías

Más información sobre Raspberry Pi Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by