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 ExchangeIntroduction 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