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

Walter Roberson
Walter Roberson 2020년 6월 19일
STAMPS is not a standard environment variable, so you can probably modify it to indicate the Linux version.
Luca Sartorelli
Luca Sartorelli 2020년 6월 19일
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"
Walter Roberson
Walter Roberson 2020년 6월 19일
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 ?
Luca Sartorelli
Luca Sartorelli 2020년 6월 19일
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에 대해 자세히 알아보기

질문:

2020년 6월 19일

댓글:

2020년 6월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by