Using system() or unix() or dos() or ! inside simulink block to deploy to hardware

2 ビュー (過去 30 日間)
vcmorini
vcmorini 2017 年 4 月 4 日
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 件)

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by