I have a Simulink model which was successfully builded and deployed to the Raspberry Pi 3 Model B+. While it is running the CPU usage monitor displays 25 percent CPU usage and the application is relatively slow. I think that this behavior originates from the using of only one kernel, although four cores are available.
Is it possible to configure Simulink / Simulink Coder for multi-threading to accelerate my application? Or is there any other solution for it?
Thank you in advance for your answer.
Best Answer
I got my model to work on multiple cores with these docs:
https://www.mathworks.com/help/releases/R2017b/simulink/ug/solving-embedded-performance-problems-using-multicore-processors-and-fpgas.html
https://www.mathworks.com/help/releases/R2017b/simulink/slref/simulink.subsystem.converttomodelreference.html
https://www.mathworks.com/help/releases/R2017b/simulink/ug/configure-your-model.html
https://www.mathworks.com/help/releases/R2017b/simulink/ug/choose-a-target-architecture.html