Main Content

System Outputs

Specify external system outputs code

Description

For a model or nonvirtual subsystem that includes the System Outputs block and a block that uses a SystemOutputs function, the code generator adds external code, which you specify, to the SystemOutputs function that it generates. You can specify code for the code generator to add to the declaration, execution, and exit sections of the function code.

Note

If you include this block in a referenced model, the code generator ignores the block for simulation target builds, but processes the block for other system target files.

  • System Outputs block

Parameters

expand all

Specify code that you want the code generator to add to the declaration section of the SystemOutputs function for the model or subsystem.

Specify code that you want the code generator to add to the execution section of the SystemOutputs function for the model or subsystem.

Specify code that you want the code generator to add to the exit section of the SystemOutputs function for the model or subsystem.

Introduced in R2006a