

    \filetitle{endogenise}{Endogenise shocks or re-endogenise variables at the specified dates}{plan/endogenise}

	\paragraph{Syntax}
 
 \begin{verbatim}
 P = endogenise(P,LIST,DATES)
 P = endogenise(P,DATES,LIST)
 P = endogenise(P,LIST,DATES,FLAG)
 P = endogenise(P,DATES,LIST,FLAG)
 \end{verbatim}
 \paragraph{Input arguments}
 
 \begin{itemize}
 \item
   \texttt{P} {[} plan {]} - Simulation plan.
 \item
   \texttt{LIST} {[} cellstr \textbar{} char {]} - List of shocks that
   will be endogenised, or list of variables that will be re-endogenise.
 \item
   \texttt{DATES} {[} numeric {]} - Dates at which the shocks or
   variables will be endogenised.
 \item
   \texttt{FLAG} {[} 1 \textbar{} 1i {]} - Select the shock anticipation
   mode; if not specified 1 is used.
 \end{itemize}
 \paragraph{Output arguments}
 
 \begin{itemize}
 \item
   \texttt{P} {[} plan {]} - Simulation plan with new information on
   endogenised shocks included.
 \end{itemize}
 \paragraph{Description}
 
 \paragraph{Example}


