Changing MATLAB_SHELL not from startup file has no effect on used shell
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
in my application I want to exchange the used matlab shell with a script which is run upfront before executing the actual command because we have a module system and I don't want every user to activate the needed modules every time before starting matlab. For that I've written a shell script which is set in the startup.m file as the MATLAB_SHELL variable. Now everytime when I run matlab from that folder everything is working properly. Now, I would like to let the user to start MATLAB from every file system location and then let him run the matlab command "run /path/to/aplication/startup" which should also set up the MATLAB_SHELL variable, but exactly this behaviour is not happening and a normal shell is run. can someone explain how to achieve the desired functionality?
Best regards and many thanks in advance,
Nikita
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!