Main Content

Define Constant Input Parameters Using the App

  1. On the Define Input Types page, click Let me enter input or global types directly.

  2. Click the field to the right of the input parameter name.

  3. Select Define Constant.

  4. In the field to the right of the parameter name, enter the value of the constant or a MATLAB® expression that represents the constant.

    The app uses the value of the specified MATLAB expression as a compile-time constant.

The MATLAB Coder™ app is not supported in MATLAB Online™.