Hi all. I am running MATLAB 2012b on linux. I have a bunch of executables/shell scripts in a folder which is added to the MATLAB path. Essentially, I can run, from MATLAB, "system(program.exe)" which works fine. But "system(script)" does not work.
From the command prompt, both "program.exe" and "script" work fine. What's going on here? Why does the system command work for executables but not scripts?
Cheers
2 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/267413-matlab-on-linux-system-command-not-working#comment_341650
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/267413-matlab-on-linux-system-command-not-working#comment_341650
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/267413-matlab-on-linux-system-command-not-working#comment_341710
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/267413-matlab-on-linux-system-command-not-working#comment_341710
Sign in to comment.