bdeGetBlockParameterNames

Returns the names of the parameters within a given block.

Syntax

names = bdeGetBlockParameterNames(block)

Inputs

block
The block to get the parameters of.
Type: block

Outputs

names
The names of the parameters within block.
Type: list

Examples

Get a block's parameter's names:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          names = bdeGetBlockParameterNames(block);
        

          
            names =
            {
            [1,1] struct [
            name: gain
            tabname: Parameters
            ]
            [2,1] struct [
            name: overflow
            tabname: Parameters
            ]
            [3,1] struct [
            name: mulmethod
            tabname: Parameters
            ]
            [4,1] struct [
            name: externalActivation
            tabname: Parameters
            ]
            }