Shared utilities identifier format - Customize shared utility identifiers - MATLAB (original) (raw)

Main Content

Customize shared utility identifiers

Model Configuration Pane: Code Generation / Identifiers

Description

Customize shared utility identifiers.

Dependencies

This parameter:

Settings

$N$C (default) | string

Customize generated shared utility identifier names.

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

Token Description
$N Insert system-generated name of the object for which the shared utility identifier is generated. Optional.
C∣Inserteight−characterconditionalchecksumwhenC Insert eight-character conditional checksum when CInserteightcharacterconditionalchecksumwhenN is not specified or the does not accommodate the full length of $N. Modify checksum character length by using Shared checksum length parameter. Required.
$R Insert root model name into identifier, replacing unsupported characters with the underscore (_) character.
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: CustomSymbolStrUtil
Type: character vector
Value: valid combination of tokens
Default: NNNC

Version History

Introduced in R2013b