Use the Code View feature to view and edit the generated
code.
About this task
The Code View feature
enables you to edit code for classes or a selected package (but not
configurations). You can select one or more classes and open a text
editor of your choice to edit the code files directly.
Using an external editor
You can set up the developer for C++ and C software so
that it respects the structure of the code and preserves the structure
when the code is regenerated from the model.