

    \filetitle{findname}{Find names of variables, shocks, or parameters by their descriptors}{model/findname}

	\paragraph{Syntax}
 
 \begin{verbatim}
 [NAME,NAME,...] = findname(M,DESC,DESC,...)
 [LIST,LIST,...] = findname(M,'-rexp',REXP,REXP,...)
 \end{verbatim}
 \paragraph{Input arguments}
 
 \begin{itemize}
 \item
   \texttt{M} {[} model {]} - Model object in which the names will be
   searched for.
 \item
   \texttt{DESC} {[} char {]} - Variable, shock, or parameter descriptors
   that will be searched for.
 \item
   \texttt{REXP} {[} char {]} - Regular expressions that will be matched
   against variable, shock, and parameter descriptors.
 \end{itemize}
 \paragraph{Output arguments}
 
 \begin{itemize}
 \item
   \texttt{NAME} {[} char {]} - First name found with the descriptor
   \texttt{DESC}.
 \item
   \texttt{LIST} {[} cellstr {]} - List of names whose descriptors match
   the regular expression \texttt{REXP}.
 \end{itemize}
 \paragraph{Description}
 
 \paragraph{Example}


