Home > classes > @plist > nparams.m

nparams

PURPOSE ^

NPARAMS returns the number of param objects in the list.

SYNOPSIS ^

function n = nparams(pl)

DESCRIPTION ^

 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

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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Mon 03-Sep-2007 12:12:34 by m2html © 2003