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 Kommentare

Walter Roberson
Walter Roberson am 19 Jun. 2020
STAMPS is not a standard environment variable, so you can probably modify it to indicate the Linux version.
Luca Sartorelli
Luca Sartorelli am 19 Jun. 2020
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 am 19 Jun. 2020
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 am 19 Jun. 2020
Sorry if I bothered you but I found an error in my installation.
I have fixed the error now.
thank you anyway

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 19 Jun. 2020

Kommentiert:

am 19 Jun. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by