"The support package is not compatible with your version of MATLAB or operating system." for installing minGW in R2022a
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jim Bosley
am 29 Aug. 2022
Kommentiert: Jim Bosley
am 7 Sep. 2022
With some help I got matlab installed in ubuntu. Works fine, however, I get the warning (words to the effect):
"You should install a C++ compiler to accelerate your matlab work"
during the install.
Ok, so I go into the add-on package, download the install script, run it per the docs, and I get
"The support package is not compatible with your version of MATLAB or operating system."
There is no workaround that I can see. I'm using the latest gcc 11.2.0 , compatible with ubuntu 22.04.
I can install minGW in this version of linux and it works. I just can't link it with matlab.
Is there any way to get the gcc 11.2 compiler working with Matlab?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 5 Sep. 2022
Is there any way to get the gcc 11.2 compiler working with Matlab?
gcc is open source. You can grab the source and modify the code so that it lies about which version it is in response to the --version command line query, so that MATLAB will accept using it.
Whether there will be any problems caused by using it instead of gcc 10.x is a different question.
0 Kommentare
Weitere Antworten (2)
Biral Pradhan
am 1 Sep. 2022
I understand you are using MATLAB on Ubuntu 22.04 and are trying to install a C++ compiler for your work. Since it is unclear which version of MATLAB you are using, kindly follow the documentation link below to find supported compilers.
For R2022a:
For R2021b and earlier:
I would recommend you to install a supported GCC compiler. Once done, kindly follow the documentation link below to change the default compiler to the supported version.
1 Kommentar
Jim Bosley
am 6 Sep. 2022
2 Kommentare
Walter Roberson
am 6 Sep. 2022
The toolchain invokes the compiler executable with --version to get back the compiler version, and compares that to the list of supported versions.
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!