MathWorks 4.9.2, 2015 Professional, 2013 Professional, 2012 Professional, 2010 Professional SP1, 2008 Professional SP1, 7.1, 2013, 2011, 2013, 2011, 2.0, 3.0, 3.5, 4.0, 4.5, 1.7, v2.4.1 Technical Documentation
Below you will find brief information for MATLAB, MATLAB Compiler, MATLAB Compiler SDK, MATLAB Coder, SimBiology, Fixed Point Designer, Simulink, Simulink Coder, Embedded Coder, Stateflow, HDL Coder, Real-Time Verifier, MinGW 4.9.2, Microsoft Visual C++ 2015 Professional, Microsoft Visual C++ 2013 Professional, Microsoft Visual C++ 2012 Professional, Microsoft Visual C++ 2010 Professional SP1, Microsoft Windows SDK 7.1, Microsoft Visual C++ 2008 Professional SP1, Intel C++ Composer XE 2013, Intel C++ Composer XE 2011, Intel Visual Fortran Composer XE 2013, Intel Visual Fortran Composer XE 2011, Microsoft .NET Framework SDK 2.0, 3.0, 3.5, 4.0, 4.5, Java Development Kit 1.7, lcc-win64, lcc-win32 v2.4.1, Xcode 7.x, Xcode 5.1+, Intel Fortran Composer XE 2013, GCC 4.7.x, GNU gfortran 4.7.x. This document describes the supported compilers and their compatibility with different MathWorks products. This information is essential for setting up your development environment properly to ensure smooth operation and avoid potential compatibility issues.
advertisement
Assistant Bot
Need help? Our chatbot has already read the manual and is ready to assist you. Feel free to ask any questions about the device, but providing details will make the conversation more productive.
Supported and Compatible Compilers – Release 2015b Windows (64-bit) 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’ Web sites for further information. MATLAB Product Family – Release 2015b MATLAB Compiler MATLAB Compiler MATLAB MATLAB Compiler SDK For MEX-file com- Excel C/C++ & pilation, add-in for COM loadlibrary, desktop .NET Java Coder Fixed Point Designer Excel For all For For add-in features accelerated accelerated computation computation for and external SimBiology MPS usage of MATLAB Engine and MATfile APIs MinGW 4.9.2 C/C++ (Distributor: TDM-GCC) 6 Available at no charge Microsoft Visual C++ 2015 Professional Microsoft Visual C++ 2013 Professional Microsoft Visual C++ 2012 Professional Microsoft Visual C++ 2010 Professional SP1 4 4 4 4 Microsoft Windows SDK 7.1 Available at no 6 charge; requires .NET Framework 4.0 Microsoft Visual C++ 2008 Professional SP1 and Windows SDK 6.1 1 2 4 Intel C++ Composer XE 2013 3 Intel C++ Composer XE 2011 1 3 Intel Visual Fortran Composer XE 2013 3 Intel Visual Fortran Composer XE 2011 1 3 Microsoft .NET Framework SDK 2.0, 3.0, 3.5, 4.0, 4.5 4,5 11 Available at no charge Java Development Kit (JDK) 1.7 Available at no charge lcc-win64 6 Included with products that support it © 2016 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. mathworks.com Simulink Product Family – Release 2015b Simulink Embedded Simulink HDL Coder Coder Real-Time Verifier For all For all When For all For DPI For features features targeting features and TLM accelerated compo- testbench mode, Rapid nent simulation Accelerator generation Simulink Simulink Stateflow For S-Function For Model compilation Referencing, Accelerator Compiler the host OS HDL Coder mode, and MATLAB Function blocks MinGW 4.9.2 C/C++ (Distributor: TDM-GCC) Available at no charge Microsoft Visual C++ 2013 Professional Microsoft Visual C++ 2012 Professional Microsoft Visual C++ 2010 Professional SP1 Microsoft Windows SDK 7.1 Available at no 7 charge; requires .NET Framework 4.0 7 Microsoft Visual C++ 2008 Professional SP1 and Windows SDK 6.1 1 2 Intel C++ Composer XE 2013 3 Intel C++ Composer XE 2011 1 3 Intel Visual Fortran Composer XE 2013 3 Intel Visual Fortran Composer XE 2011 1 3 8 9 8 9 lcc-win64 Included with products that support it Notes for the Windows (64-bit) Platform 1. Support for this version of this compiler will be discontinued in a future release, at which time a new version will be supported. Consult the platform road map for more information. 2. Both Microsoft Visual Studio 2008 and Windows Software Development Kit (SDK) 6.1 must be installed. When installing Microsoft Visual Studio, you must choose “X64 Compilers and Tools” when installing Microsoft Visual Studio; this is not selected by default. 3. Intel compilers depend on tools provided by Microsoft. The following combinations are supported: © 2016 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. mathworks.com Microsoft Windows SDK 7.1 Microsoft Visual Studio Microsoft Visual Studio Microsoft Visual Studio 2013 Professional 2012 Professional 2010 Professional SP1 (64-bit) (64-bit) (64-bit) Microsoft Visual Studio 2008 SP1 Professional Edition (64-bit) Intel C++ Composer XE 2013 Intel C++ Composer XE 2011 Intel Visual Fortran Composer XE 2013 Intel Visual Fortran Composer XE 2011 4. To build .NET components, a Microsoft .NET Framework must be installed. The .NET Framework v3.0 does not contain a framework- specific compiler; compatible components can be built using the v2.0 compiler. The .NET Framework is automatically installed by Visual Studio. It can also be downloaded from the Microsoft Web site. To execute applications that use the resulting .NET components, the target machine must have the matching .NET Framework installed. 5. MATLAB Compiler SDK supports building .NET assemblies but not COM objects when using the Microsoft .NET Framework SDK with out Microsoft Visual Studio. 6. This compiler does not support OpenMP. Code generation will treat parfor-loops as for-loops. 7. .sln project generation is not supported when using the Microsoft Windows SDK. 8. Fortran compilers are supported with Simulink only for creating Simulink S-Functions using the MATLAB MEX command. The S-Functions can be used with normal and accelerated simulations. 9. Simulink Real-Time supports Fortran code in Simulink models using C-MEX wrapper S-Functions. 10. Office Developer Tools must be installed as part of the Microsoft Visual Studio installation. 11. When building Excel add-ins for MPS, MATLAB Compiler SDK requires .NET framework 4.0 or later. Additional Notes: • Support for MinGW 4.9.2 (Distributor: TDM-GCC) was added in R2015b • Support for Microsoft Visual C++ 2015 Professional was added in R2015b • Microsoft Visual C++ 2008 will no longer be supported in R2016a © 2016 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. mathworks.com Windows (32-bit) On 32-bit Windows, the lcc C compiler is installed along with MATLAB, providing out-of-the-box support for most MathWorks products. Further options are available as outlined in this table. MATLAB Product Family – Release 2015b MATLAB Compiler MATLAB Compiler MATLAB MATLAB Compiler SDK .NET Fixed Point Designer HDL Coder For MEX-file Excel C/C++ Excel For all For For For compilation, add-in for & add-in features accelerated accelerated accelerat- loadlibrary, desktop COM for computation computation ed test- and external Java Coder SimBiology MPS bench usage of simulation MATLAB Engine and MAT-file APIs lcc-win32 v2.4.1 5 Included with MATLAB Microsoft Visual C++ 2015 Professional Microsoft Visual C++ 2013 Professional Microsoft Visual C++ 2012 Professional Microsoft Visual C++ 2010 Professional SPI Microsoft Windows SDK 7.1 3 3 3 3 3 5 Available at no charge; requires .NET Framework 4.0 Microsoft Visual C++ 2008 Professional SP1 1 3 Intel C++ Composer XE 2013 2 Intel C++ Composer XE 2011 1 2 Intel Visual Fortran Composer XE 2013 2 Intel Visual Fortran Composer XE 2011 1 2 Microsoft .NET Framework SDK 2.0, 3.0, 3.5, 4.0 3,4 4 Available at no charge Java Development Kit (JDK) 1.7 Available at no charge © 2016 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. mathworks.com Simulink Product Family – Release 2015b Simulink Embeded Simulink Coder Coder Real-Time For all When For all For DPI features targeting features and TLM Simulink Simulink Simulink Stateflow For S-Function For Model For all compilation Referencing, features Accelerator Compiler the host OS compo- mode, Rapid nent Accelerator generation mode, and MATLAB Function blocks Lcc-win32 v2.4.1 Included with MATLAB Microsoft Visual C++ 2013 Professional Microsoft Visual C++ 2012 Professional Microsoft Visual C++ 2010 Professional SP1 Microsoft Windows SDK 7.1 7 Available at no charge; requires .NET Framework 4.0 7 Microsoft Visual C++ 2008 Professional SP1 1 Intel C++ Composer XE 2013 2 Intel C++ Composer XE 2011 1 2 Intel Visual Fortran Composer XE 2013 2 Intel Visual Fortran Composer XE 2011 6 8 6 8 12 Notes for the Windows (32-bit) Platform 1.Support for this version of this compiler will be discontinued in a future release, at which time a new version will be supported. Consult the platform road map for more information. 2.Intel compilers depend on tools provided by Microsoft. The following combinations are supported: © 2016 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. mathworks.com Microsoft Windows SDK 7.1 Microsoft Visual Studio Microsoft Visual Studio 2012 Professional 2010 Professional SP1 (32-bit) (32-bit) Microsoft Visual Studio 2008 SP1 Professional Edition (32-bit) Intel C++ Composer XE 2013 Intel C++ Composer XE 2011 Intel Visual Fortran Composer XE 2013 Intel Visual Fortran Composer XE 2011 3. To build .NET components, a Microsoft .NET Framework must be installed. The .NET Framework v3.0 does not contain a framework- specific compiler; compatible components can be built using the v2.0 compiler. The .NET Framework is automatically installed by Visual Studio. It can also be downloaded from the Microsoft Web site. To execute applications that use the resulting .NET components, the target machine must have the matching .NET Framework installed. 4. MATLAB Compiler SDK supports building .NET assemblies but not COM objects when using the Microsoft .NET Framework SDK with out Microsoft Visual Studio. 5. This compiler does not support OpenMP. Code generation will treat parfor-loops as for-loops. 6. Fortran compilers are supported with Simulink only for creating Simulink S-Functions using the MATLAB MEX command. The S-Functions can be used with normal and accelerated simulations. 7. .sln project generation is not supported when using the Microsoft Windows SDK. 8. Simulink Real-Time supports Fortran code in Simulink models using C-MEX wrapper S-Functions. 9. Office Developer Tools must be installed as part of the Microsoft Visual Studio installation. Additional Notes: • Support for Microsoft Visual C++ 2015 Professional was added in R2015b • Microsoft Visual C++ 2008 will no longer be supported in R2016a © 2016 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. mathworks.com Mac OS X On the Mac, no C compiler is supplied with MATLAB. If you use products that require one, Apple’s development environment for OS X (Xcode) is available in the Mac App Store. MATLAB Product Family – Release 2015b Compiler MATLAB MATLAB Compiler SDK For MEX-file compilation, C/C++ Java loadlibrary, and MATLAB Fixed-Point SimBiology Designer For all For accelerat- For accelerated features ed computation Coder external usage of MATLAB computation Engine and MAT-file APIs Xcode 7.x (Review required setup) Xcode 5.1+ or 6.x 1 Available at no charge Intel Fortran Composer XE (2013) Java Development Kit (JDK) 1.7 Available at no charge Simulink Product Family – Release 2015b Compiler Simulink Simulink Stateflow Simulink Coder Embedded Coder For S-Function For model referencing, For all features For all features When targeting compilation Accelerator mode, Rapid the host OS Accelerator mode, and MATLAB Function blocks Xcode 5.1+ or 6.x Available at no charge To determine the version of Xcode installed, start Xcode and then select Xcode->About Xcode. Notes for the Mac Platform 1. This compiler does not support OpenMP. Code generation will treat parfor-loops as for-loops. 2. Fortran compilers are supported with Simulink only for creating Simulink S-functions using the MATLAB MEX command. The S-functions can be used with normal and accelerated simulations. Additional Notes: • Support for GNU gfortran 4.3 has been dropped as of R2015b • Support for Xcode 6.1+ has been added as of R2015b • Support for Xcode 5.x will be dropped as of R2016a • Support for Xcode 7.x was added after the release of R2015b (Review required setup) © 2016 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. mathworks.com Linux (64-bit) On Linux, no C compiler is supplied with MATLAB. The GNU compiler (GCC) is included with many Linux distributions. MATLAB Product Family – Release 2015b MATLAB Compiler For MEX-file MATLAB MATLAB Compiler SDK Coder C/C++ Java compilation, Fixed-Point SimBiology Designer HDL Coder HDL Verifier For all For For For For DPI and features accelerated accelerated accelerat- TLM computation computation loadlibrary, and ed test- component external usage of bench generation MATLAB Engine and simulation MAT-file APIs GCC C/C++ 4.7.x Available at no charge GNU gfortran 4.7.x Available at no charge Java Development Kit (JDK) 1.7 Available at no charge Simulink Product Family – Release 2015b Compiler Simulink Simulink Stateflow For S-Function For model referencing, For all compilation Accelerator mode, Rapid features Simulink Embedded Coder Coder For all features When target- For DPI and ing the host TLM OS component Accelerator mode, and MATLAB Function blocks HDL Verifier generation GCC C/C++ 4.7.x Available at no charge GNU gfortran 4.7.x 2 Available at no charge To determine the version of your compiler, see Solution 1-1880F. Notes for the Linux Platform 1. g++ libraries are required, even when compiling C-language source code. This may require installing the “gcc-g++” (or similar) package on your system. 2. Fortran compilers are supported with Simulink only for creating Simulink S-functions using the MATLAB MEX command. The S-functions can be used with normal and accelerated simulations. © 2016 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. mathworks.com
advertisement
Key Features
- Supported compilers
- Compatibility with MathWorks products
- Installation instructions
- Configuration options
- Troubleshooting tips
- Version information
- Platform support
- OpenMP support