bdeGetBlockParameterDimension

Returns the dimensions of a parameter in a given block. Works with parameters of the type matrix.

Syntax

dimension = bdeGetBlockParameterDimension(block, parameter)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The parameter to get the dimensions of.
Type: string

Outputs

dimension
The dimensions of the given parameter.
Type: string

Examples

Get a parameter's dimensions:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          dimension = bdeGetBlockParameterDimension(block, 'gain');
        

          
            dimension = [-1,-2]