To update the generated code in the related toolchain project, click the
Update Code button. In the window, select the tools or files you want to
update. If the file is updated automatically, the button is filled with a black square.
The reason is displayed in the tooltip.
The project information shows the Project name and path or the path to the mex folder,
when the configuration is without a project.Figure 1. Update Files window To inspect the code difference between the versions, click the change
link. Figure 2. Show differences
To update the project without opening the Update Files
dialog, deselect the Always show details before Update Code checkbox.
To access the Update Code dialog from the Update Code
dropdown menu, select Open Update Code Dialog.
Figure 3. Update Code dropdown menu
Note: The generated code is always overwritten.
The Update Code action is enabled under
following conditions:
If the MEX configuration is saved in a toolchain project, the
processor selected in the tool matches with processor selected in the toolchain
project