Update Build Information from MATLAB code

You can choose to control aspects of the build process that occur after code generation but before compilation. For example, you can specify compiler or linker options.

To customize the build from your MATLAB® code:

  1. In your MATLAB code, call coder.updateBuildInfo to update the build information object. You specify a build information object method and the input arguments for the method.

  2. Generate code from your MATLAB code.

See Also

Was this topic helpful?