findname (Model)
Find names of variables, shocks, or parameters by their labels.
Syntax
[found, found, ...] = findfound(m, search, search, ...)
Input arguments
m [ model ]
Model object in which names will be searched for by their labels.
search[ char | rexp ]Labels of variables, shocks, or parameters that will be searched for, or rexp objects (regular expressions) against which the labels will be matched.
Output arguments
found [ char | cellstr ]
If
searchis a text string,foundis the first equation with the labelsearch; ifsearchis a rexp object (regular expression),foundis a cell array of model names matched successfully against the regular expression.