Generating Code for a Component

  1. In the block diagram editor, perform one of the following actions.

    1. Open the Build menu and select Generate Code.
    2. Click Generate Code.
    3. 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

Project Editor – Banners in the Generated Code

Starting an Offline Experiment