Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Execute programm on Rasberry, DONT wait for answer

1 visualización (últimos 30 días)
s p
s p el 13 de Jun. de 2016
Comentada: Vidya Viswanathan el 16 de Jun. de 2016
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 comentario
Vidya Viswanathan
Vidya Viswanathan el 16 de Jun. de 2016
Could you provide more information about the contents of the variable "mypi"?
-Vidya

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by