Setting up Gurobi on Mac with Apple chips and MATLAB R2023B
35 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I am trying to install Gurobi into MATLAB R2023B. I am using Macbook with Apple chips and faced some issues installing Gurobi. I have downloaded and placed Gurobi into the same folder as MATLAB. I also added the path to MATLAB. Here is the issues from the command window:
>> gurobi_setup
Error using gurobi_setup
Unsupported MATLAB architecture MACA64
How do I fix this and sucessfully install Gurobi into MATLAB?
Thank you in advance,
Hieu
1 Kommentar
Antworten (1)
Rishi
am 23 Okt. 2023
Hi Hieu,
I understand from your query that you are not able to install Gurobi for MATLAB on a Mac with Apple chip.
This is because Gurobi does not have mex functions which are compatible with MATLAB for Apple Silicon. More information about this can be found here at Gurobi’s help center:
To use Gurobi for MATLAB on a Mac with Silicon chip, the following can be done:
- Install Rosetta, which allows applications compiled for Intel-based Macs to run on Apple Silicon based Macs.
- Install Gurobi for Intel-based Macs.
- Use this on MATALB for Intel-based Macs.
Hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!