

    \filetitle{irisuserconfig}{User configuration file called at the IRIS start-up}{config/irisuserconfighelp}

	\paragraph{Syntax}

\begin{verbatim}
function c = irisuserconfig(c)
    c.option = value;
    c.option = value;
    ...
 end
\end{verbatim}

\paragraph{Description}

You can create your own configuration file to modify the general IRIS
options of your choosing at each IRIS start-up. The file must be saved
as \texttt{irisuserconfig.m} on the Matlab search path.

The \texttt{irisuserconfig.m} file must be an m-file function taking one
input argument (a struct with the factory settings), and returning one
output argument (a struct with the user-modified settings); see
\href{config/irisset}{\texttt{irisset}} for the list of options you can
change. In addition, you can also add your own new options, which will
be then also accessible through \href{config/irisset}{\texttt{irisset}}
and \href{config/irisget}{\texttt{irisget}}.

\paragraph{Example}

If you want the names of months to be displayed in Finnish, create the
following m-file and save it in a folder which is on the Matlab search
path:

\begin{verbatim}
function c = irisuserconfig(c)
    c.months = { ...
        'Tammikuu','Helmikuu','Maaliskuu', ...
        'Huhtikuu','Toukokuu','Kesakuu', ...
        'Heinakuu','Elokuu','Syyskuu', ...
        'Lokakuu','Marraskuu','Joulukuu'};
end
\end{verbatim}

This modification will take effect after you next run
\href{config/irisstartup}{\texttt{irisstartup}}. Your graphs will be
then fluent in Finnish:

\begin{verbatim}
x = tseries(mm(2009,1):mm(2009,6),@rand);
plot(x,'dateformat','MmmmYY');
\end{verbatim}


