Use Xcode c compiler on Apple M1 chip

12 views (last 30 days)
Guido Filler
Guido Filler on 3 Dec 2020
Hello :)
I installed MATLAB and Simulink on a M1 Mac Mini. When trying to run a Simulink Model which previosly run under Windows 10, compiling fails.
mex -setup
returns "MEX configured to use 'Xcode with Clang' for C language compilation." which seems to be normal.
Is there any way to figure out if Simulink is able to access the compiler or compile c files from the MATLAB command window for testing?

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!