Real-Time Workshop Embedded Coder    

Generating Block Comments

When the Insert block descriptions in code option is selected, comments are inserted into the code generated for any blocks that have text in their Description fields.

To generate block comments:

  1. Right-click on the block you want to comment. Select Block Properties from the context menu. The Block Properties dialog box opens.
  2. Type the comment into the Description field.
  3. Select the Insert block descriptions in code option in the ERT code generation options (1) category of the Real-Time Workshop pane.


  Generating Code from Subsystems Controlling Stack Space Allocation