NPARAMS returns the number of param objects in the list. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: NPARAMS returns the number of param objects in the list. CALL: n = nparams(plist) VERSION: $Id: nparams.m,v 1.2 2007/07/18 13:58:45 ingo Exp $ HISTORY: 30-01-2007 M Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function n = nparams(pl) 0002 % NPARAMS returns the number of param objects in the list. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: NPARAMS returns the number of param objects in the list. 0007 % 0008 % CALL: n = nparams(plist) 0009 % 0010 % VERSION: $Id: nparams.m,v 1.2 2007/07/18 13:58:45 ingo Exp $ 0011 % 0012 % HISTORY: 30-01-2007 M Hewitson 0013 % Creation 0014 % 0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0016 0017 n = length(pl.params); 0018 0019 % END