Generating Code for a Component
In the block diagram editor, perform one of the following actions.
- Open the Build menu and select Generate Code.
- Click
Generate Code. - Press <Ctrl> + <F7>.
The C code for the current component is generated.
The system displays any error messages returned by the Code Generator in the ASCET monitor window. You can find the relevant diagram item by clicking on an error message.
When the code for a component has been generated successfully, you can open the experimentation environment for the component.
See also