


FIELDCOUNT - determine the number of fields in an model object determines the number of fields in an model object Used by model child class methods Do not use


0001 function numFields = fieldcount(modelObj) 0002 %FIELDCOUNT - determine the number of fields in an model object 0003 % 0004 % determines the number of fields in an model object 0005 % Used by model child class methods 0006 % Do not use 0007 0008 numFields = length(fieldnames(modelObj));