MATLAB Answers

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

1 view (last 30 days)
vcmorini
vcmorini on 4 Apr 2017
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 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.