Restart or Shutdown Raspberry PI crashes Matlab
Ältere Kommentare anzeigen

Hi guys,
To restart:
system(raspberrypi,'sudo shutdown -r now')
%or
system(raspi,'sudo shutdown -r now')
It works! Raspberry Pi restarts but Matlab continues busy even after Raspberry Pi has restarted.
Also, I didn't find any documentation about raspberrypi vs raspi, what is the difference between one and other?
Best!
Akzeptierte Antwort
Weitere Antworten (1)
Mario Frischmann
am 20 Sep. 2017
0 Stimmen
Any solutions?
1 Kommentar
Alejandro Ojeda
am 5 Jul. 2018
Bearbeitet: Alejandro Ojeda
am 5 Jul. 2018
This is nonblocking
p = raspberrypi;
p.system('sudo shutdown -r +1');
Kategorien
Mehr zu MATLAB Support Package for Raspberry Pi Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!