Hi
Eexecuting the below commands form MATLAB command window will solve the issue:
h = raspberrypi
h.execute('sudo shutdown -h now')
For more information refer to the below documentation link:
Hope this helps!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!