Home > reduc > support > checkpar.m

checkpar

PURPOSE ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

SYNOPSIS ^

function flag=checkpar(par,type)

DESCRIPTION ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 function flag=checkpar(par,type)

 check parameter structure for calibration "type"

 sjcm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function flag=checkpar(par,type)
0002 
0003 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0004 % function flag=checkpar(par,type)
0005 %
0006 % check parameter structure for calibration "type"
0007 %
0008 % sjcm
0009 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0010 
0011 flag=0;
0012 
0013 if (~isempty(par))
0014   if (isfield(par,type))
0015     flag=1;
0016   end
0017 end
0018 
0019       
0020       
0021       
0022       
0023       
0024       
0025

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005