Standard Library function that scans for PV-WAVE variables that match the given criteria.
Dimensions A string or string array specifying the exact dimensions of the variable(s) that you wish to have returned. If an array, returns variables matching any o*f the dimensions. The string must have the following pattern:
'NxNx...xN'
or
['NxNx...xN', ..., 'NxNx...xN']
For example:
Dimensions = '256x256x3'
, or
Dimensions = ['256x256x3', '3x512', '3x640']
If you set Dimensions equal to
N
, it will return all 1D arrays with N
elements. Similarly, Dimensions = '0'
will return all scalar variables (much like specifying NDimensions = 0)Level Specifies the program level for which variables are to be considered.
If Level 0, levels are counted down from the current level.
If this keyword is not specified, $MAIN$ is assumed.
NDimensions A scalar or array specifying the number of dimensions to be matched.
Type A scalar or array specifying the type(s) of variables to be matched, according to the following table:
var_list = VAR_MATCH(Dimensions = '3x256', Type = [1, 2, 3])