function out = length(obj)
%LENGTH Length of instrument object array.
%
%    LENGTH(OBJ) returns the length of instrument object array,
%    OBJ. It is equivalent to MAX(SIZE(OBJ)).  
%    
%    See also SERIAL/SIZE.
%

%    MP 7-27-99
%    Copyright 1999-2000 The MathWorks, Inc. 
%    $Revision: 1.3 $  $Date: 2000/07/19 12:47:05 $


% The jobject property of the object indicates the number of 
% objects that are concatenated together.
try
   out = builtin('length', obj.jobject);
catch
   out = 1;
end




