How to stop a simulink model on a standalone raspberry pi?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Abhishek Kekud
am 15 Feb. 2018
Kommentiert: irfan ullah
am 6 Aug. 2019
I am using Matlab 2017a version to develop an application on raspberry pi. The model is developed and deployed to the raspberry pi board. The raspberry should work as a standalone application. To run the model, I am using the command "sudo ./<Name of the model>.elf". How can I stop this model from the raspberry pi terminal. Ctrl+C works sometimes but the model does not stop all the time. Please suggest how to stop the running standalone simulink models.
0 Kommentare
Akzeptierte Antwort
Von Duesenberg
am 15 Feb. 2018
Bearbeitet: Walter Roberson
am 16 Feb. 2018
In a terminal window, type top to see the running processes and look at the PID column for the number corresponding to your standalone model. Then exit top by pressing q, and type sudo kill <PID> (<PID> should be replaced by your own PID).
2 Kommentare
irfan ullah
am 6 Aug. 2019
Hello Abhishek Kekud,
We are trying to do the same but have not found a solution. So if you have finally got one, can you please share it with us.
Kind regards,
Irfan
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Raspberry Pi Hardware finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!