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!