Matlab system() shell is wrong

Why does Matlab use /opt/local/bin/bash instead of /bin/bash for system()?
Can I change this permanently?

Risposte (1)

Walter Roberson
Walter Roberson il 29 Giu 2011

0 voti

Please see the Algorithm section of unix() as the same algorithm is used for system()

2 Commenti

Randall Lin
Randall Lin il 29 Giu 2011
So my MATLAB_SHELL variable was somehow set to something else?
Possibly. You could examine the "matlab" shell script to see what it sets up for you, and you could examine your startup.m

Accedi per commentare.

Prodotti

Richiesto:

il 29 Giu 2011

Community Treasure Hunt

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

Start Hunting!

Translated by