Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Execute programm on Rasberry, DONT wait for answer

조회 수: 1 (최근 30일)
s p
s p 2016년 6월 13일
댓글: Vidya Viswanathan 2016년 6월 16일
Hey guys, im executing a bash file on my raspberry with that matlab command
system(mypi,'bash ~/spidev/ex.sh')
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/ex.sh &')
but its still waiting. Any ideas how to send only the command and instantly proceeding with my own matlab-code???
  댓글 수: 1
Vidya Viswanathan
Vidya Viswanathan 2016년 6월 16일
Could you provide more information about the contents of the variable "mypi"?
-Vidya

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by