Installing Prerequisite Products

To generate C and C++ code using MATLAB® Coder™, you must install the following products:

  • MATLAB

    Note

    If MATLAB is installed on a path that contains non 7-bit ASCII characters, such as Japanese characters, MATLAB Coder might not work because it cannot locate code generation library functions.

  • MATLAB Coder

  • C or C++ compiler

    MATLAB Coder automatically locates and uses a supported installed compiler. For the current list of supported compilers, see Supported and Compatible Compilers on the MathWorks® website.

    You can use mex -setup to change the default compiler. See Change Default Compiler (MATLAB).

For instructions on installing MathWorks products, see the MATLAB installation documentation for your platform. If you have installed MATLAB and want to check which other MathWorks products are installed, enter ver in the MATLAB Command Window.