Conflict Matlab Linux and Windows

Hi,
I installed Matlab2020a for Windows and Matlab2018a for Linux.
I am running a software in Linux WSL which needs Matlab. The software has a Configuration.bash folder to export all the path: "export MATLABPATH=$STAMPS/matlab:`echo $MATLABPATH`".
The problem is that the software opens Matlab2020a (that for Windows) and not Matlab2018a (for Linux).
Do you know how to solve this problem?
Thank you

4 个评论

STAMPS is not a standard environment variable, so you can probably modify it to indicate the Linux version.
Thank you
Do you know how to change it?
Should I change "export MATLABPATH=$STAMPS/matlab:`echo $MATLABPATH`" in
export MATLABPATH=$STAMPS/matlab: usr/local/MATLAB/R2018a/bin"
MATLABPATH should affect the directories that MATLAB searches to find .m .p .slx and so on files, but should not affect where the MATLAB executable is picked up from, so I think we are headed in the wrong direction.
What are you invoking that ends up bringing Windows MATLAB instead of Linux MATLAB ?
Sorry if I bothered you but I found an error in my installation.
I have fixed the error now.
thank you anyway

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by