Matlab system() shell is wrong

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

답변 (1개)

Walter Roberson
Walter Roberson 2011년 6월 29일

0 개 추천

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

댓글 수: 2

Randall Lin
Randall Lin 2011년 6월 29일
So my MATLAB_SHELL variable was somehow set to something else?
Walter Roberson
Walter Roberson 2011년 7월 8일
Possibly. You could examine the "matlab" shell script to see what it sets up for you, and you could examine your startup.m

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

질문:

2011년 6월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by