Subsystem method arguments - Customize generated function argument names for subsystems and Simulink functions - MATLAB (original) (raw)

Main Content

Customize generated function argument names for subsystems and Simulink functions

Model Configuration Pane: Code Generation / Identifiers

Description

Customize generated function argument names for subsystems and Simulink® functions.

Dependencies

This parameter:

Settings

rt$I$N$M | string

Enter a macro that specifies whether, and in what order, certain text is to be included in the generated argument name. The macro can include a combination of the following format tokens.

Token Description
$I Insert u if the argument is an input.Insert y if the argument is an output.Insert uy if the argument is an input and output.Optional.
$M Insert name-mangling text if required to avoid naming collisions.Required.
$N Insert name of object (block, signal or signal object, state, parameter or parameter object) for which identifier is being generated. Recommended to maximize readability of generated code.
U∣InserttextthatyouspecifyfortheU Insert text that you specify for the UInserttextthatyouspecifyfortheU token. Use the Custom token text parameter to specify this text.

Tips

Application Setting
Debugging No impact
Traceability Use default
Efficiency No impact
Safety precaution No recommendation

Programmatic Use

Parameter: CustomSymbolStrFcnArg
Type: character vector
Value: valid combination of tokens
Default: rt$I$N$M

Version History

Introduced in R2009b