MATLAB: Is the ability to set compiler options available in the Configuration Parameters dialog in Real-time Workshop

abilityoptionsimulink coder

I would like to set additional compiler options, such as OPT="/zm1000", to the existing compiler options without affecting the exisitng TMF files.

Best Answer

The ability to set compiler options is not explicitly available in the Real-time Workshop Configuration Parameters dialog. To specify compiler options, append the option(s) to the name of the Make command that appears in the Simulation->Configuration Parameters->Real-Time Workshop dialog, as shown in the following example:
make_rtw OPT="/zm1000"