0

I want to run the shell script "./segmentAndTrack.sh " in MATLAB. Can you tell me the procedure. I am newbie in shell script. Any kind of help welcome. My OS is linux

Leone
  • 67
  • 1
  • 1
  • 8

1 Answers1

1

You can run system commands a couple of ways in MATLAB:

!./segmentAndTrack.sh

or

[status,result] = system('./segmentAndTrack.sh');

or, in the case of a UNIX system

[status,cmdout] = unix(command)

Type 'doc unix' in the MATLAB terminal to get the full documentation for the function