Using system() or unix() or dos() or ! inside simulink block to deploy to hardware
1 次查看(过去 30 天)
显示 更早的评论
Hello guys
Im using simulink to deploy in a raspberry pi.
If a true is read in a gpio pin, i want to execute a command on raspbery pi command line. e.g.: sudo halt
Tried to use system(), unix(), dos(), and !, in a matlab function block without success.
Any ideas ?
:)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!