MATLAB Answers


This question is closed. Reopen it to edit or answer.

Execute programm on Rasberry, DONT wait for answer

1 view (last 30 days)
s p
s p on 13 Jun 2016
Commented: Vidya Viswanathan on 16 Jun 2016
Hey guys, im executing a bash file on my raspberry with that matlab command
system(mypi,'bash ~/spidev/')
The bashfile removes some old files and than executes a C-Code. My Problem is that matlab is waiting for the program to finish. I tried this:
system(mypi,'bash ~/spidev/ &')
but its still waiting. Any ideas how to send only the command and instantly proceeding with my own matlab-code???

  1 Comment

Vidya Viswanathan
Vidya Viswanathan on 16 Jun 2016
Could you provide more information about the contents of the variable "mypi"?

Answers (0)


Community Treasure Hunt

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

Start Hunting!