Configure a Block for Code Generation

Use the State Attributes pane of a Block Parameters dialog box to specify Simulink® Coder™ code generation options for blocks with discrete states. See States in the Simulink Coder documentation.

Was this topic helpful?