

    \filetitle{subsasgn}{Subscripted assignment for model and syeq objects}{model/subsasgn}

	\paragraph{Syntax for assigning parameterisations from other object}
 
 \begin{verbatim}
 M(INDEX) = N
 \end{verbatim}
 \paragraph{Syntax for deleting specified parameterisations}
 
 \begin{verbatim}
 M(INDEX) = []
 \end{verbatim}
 \paragraph{Syntax for assigning parameter values or steady-state values}
 
 \begin{verbatim}
 M.NAME = X
 M(INDEX).NAME = X
 M.NAME(INDEX) = X
 \end{verbatim}
 \paragraph{Syntax for assigning std deviations or cross-correlations of
 shocks}
 
 \begin{verbatim}
 M.STD_NAME = X
 M.CORR_NAME1__NAME2 = X
 \end{verbatim}
 Note that a double underscore is used to separate the names of shocks in
 correlation coefficients.
 
 \paragraph{Input arguments}
 
 \begin{itemize}
 \item
   \texttt{M} {[} model \textbar{} syeq {]} - Model or syeq object that
   will be assigned new parameterisations or new parameter values or new
   steady-state values.
 \item
   \texttt{N} {[} model \textbar{} syeq {]} - Model or syeq object
   compatible with \texttt{M} whose parameterisations will be assigned
   (copied) into \texttt{M}.
 \item
   \texttt{INDEX} {[} numeric {]} - Index of parameterisations that will
   be assigned or deleted.
 \item
   \texttt{NAME}, \texttt{NAME1}, \texttt{NAME2} {[} char {]} - Name of a
   variable, shock, or parameter.
 \item
   \texttt{X} {[} numeric {]} - A value (or a vector of values) that will
   be assigned to a parameter or variable named \texttt{NAME}.
 \end{itemize}
 \paragraph{Output arguments}
 
 \begin{itemize}
 \item
   \texttt{M} {[} model \textbar{} syeq {]} - Model or syeq object with
   newly assigned or deleted parameterisations, or with newly assigned
   parameters, or steady-state values.
 \end{itemize}
 \paragraph{Description}
 
 \paragraph{Example}
 
 Expand the number of parameterisations in a model or syeq object that
 has initially just one parameterisation:
 
 \begin{verbatim}
 m(1:10) = m;
 \end{verbatim}
 The parameterisation is simply copied ten times within the model or syeq
 object.


