Use Xcode c compiler on Apple M1 chip

10 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by