Supported and Compatible Compilers - Mac
A number of MathWorks products or product features require that you have a third-party compiler installed on your system. The tables below outline the compilers that are supported by various MathWorks products. These compilers are provided by a number of vendors and are available under a variety of commercial, academic, or open source terms; visit the providers' websites for further information.
Please see Polyspace documentation for the list of compilers that Polyspace supports in the current release. See Supported Interfaces to Other Languages for information about using MATLAB with other programming languages.
Mac
MATLAB Product Family
Compiler | Apple silicon | Intel | MATLAB | MATLAB Coder | SimBiology | Fixed-Point Designer | Audio Toolbox | ROS Toolbox |
---|---|---|---|---|---|---|---|---|
For MEX-file compilation, loadlibrary , C++ interface, and external usage of MATLAB Engine and MAT-file APIs |
For all features | For accelerated computation | For accelerated computation | For validating and generating audio plugins | For custom messages and code generation | |||
Xcode 16 | ||||||||
Xcode 15 | ||||||||
NAG Fortran Compiler | ||||||||
Intel oneAPI 2023 for Fortran | ||||||||
Intel oneAPI 2022 for Fortran |
Simulink Product Family
Compiler | Apple silicon | Intel | Simulink | Simulink | Stateflow | Simulink Coder | Embedded Coder |
---|---|---|---|---|---|---|---|
For S-Function compilation | For model referencing, Accelerator mode, Rapid Accelerator mode, and MATLAB Function blocks | For all features | For all features | When targeting the host OS | |||
Xcode 16 | |||||||
Xcode 15 | |||||||
NAG Fortran Compiler1 | |||||||
Intel oneAPI 2023 for Fortran1 | |||||||
Intel oneAPI 2022 for Fortran1 |
Polyspace Product Family
Compiler | Apple silicon | Intel | Polyspace Test |
---|---|---|---|
For all features | |||
Xcode 16 | |||
Xcode 15 |
MATLAB Compiler
Compiler | Apple silicon | Intel | MATLAB Compiler SDK |
---|---|---|---|
C/C++ | |||
Xcode 16 | |||
Xcode 15 |
To determine the version of Xcode installed, start Xcode and then select Xcode->About Xcode.