Main Content

SymbolSpec

Query and configure C Function block data symbols

Description

Use the SymbolSpec object to query and configure C Function block symbol definitions and their properties.

Creation

Description

myCFunctionObj = get_param(CFcnBlk, 'SymbolSpec') creates a C Function block symbol configuration object for the specified C Function block.

Input Arguments

expand all

C Function block path specified as a character vector, or a handle to the C Function block.

Properties

expand all

The symbols defined in the C Function block, specified as a Symbol object, or an array of Symbol objects.

Symbol objects define the properties of each symbol in the C Function block.

Object Functions

addSymbolAdd a symbol object definition to a C Function block
getSymbolGet a symbol object definition of a C Function block
deleteSymbolDelete a symbol object definition from a C Function block
Introduced in R2020a