Rebuild a Model
If you update generated source code or makefiles manually to add customizations, you
can rebuild the files with the rtwrebuild
command. This command recompiles the modified files by
invoking the generated makefile. Alternatively, you can rebuild from the Model
Explorer:
Open the Model Explorer.
In the Model Hierarchy pane, expand the node for the model.
Click the Code for
model
node.In the Code pane, next to Code Recompile Command, click rebuild generated code.