Home > mpt > extras > auxiliary > mpt_defaultOptions.m

mpt_defaultOptions

PURPOSE ^

MPT_DEFAULTOPTIONS Sets default values of undefined fields of Options structure

SYNOPSIS ^

function Options = mpt_defaultOptions(Options, varargin)

DESCRIPTION ^

MPT_DEFAULTOPTIONS Sets default values of undefined fields of Options structure

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Sets default values of fields which are not defined in the Options structure.

 Options = mpt_defaultOptions(Options, 'f1', v1, 'f2', v2)

   will set Options.f1=v1 and Options.f2=v2 if Options.f1 and/or Options.f2 do
   not exist in Options.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003