Matlab system() shell is wrong

조회 수: 2 (최근 30일)
Randall Lin
Randall Lin 2011년 6월 29일
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일
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

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

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by