Pacing option not active in external mode
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to run Simulink on rasperry PI with a slower pace. this is possible on normal mode using pacing option but it is not possible in external mode. The simulink coder support package for ARM Cortex based VEX microcontrollers also does not work in external mode. any idea ?
0 Commenti
Risposte (1)
Mark McBroom
il 14 Nov 2020
When running external mode, the code from the Simulink model is running in real-time using target OS timers/threads. It is not possible to have this code run slower/faster than real-time. One way you could accomplish this would be to change the change the fixed step size to a larger number. For example, if the fixed step size is currently set to 0.1 sec, if you change to be 1.0 sec, the code would run 10 times slower on the embedded processor.
Thanks.
Mark.
1 Commento
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!