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.
- parameter
- The parameter to get the dimensions of.
Outputs
- dimension
- The dimensions of the given parameter.
Examples
Get a parameter's dimensions:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
dimension = bdeGetBlockParameterDimension(block, 'gain');
dimension = [-1,-2]