get the number of points stored in mps_pointlist object. [USAGE] [num] = vb_mps_pointlist_get_pointnum(<obj>); [IN] obj : mps_pointlist object [OUT] num : The number of points stored in mps_pointlist object Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [num]= vb_mps_pointlist_get_pointnum(obj) 0002 % get the number of points stored in mps_pointlist object. 0003 % [USAGE] 0004 % [num] = vb_mps_pointlist_get_pointnum(<obj>); 0005 % [IN] 0006 % obj : mps_pointlist object 0007 % [OUT] 0008 % num : The number of points stored in mps_pointlist object 0009 % 0010 % 0011 % Copyright (C) 2011, ATR All Rights Reserved. 0012 % License : New BSD License(see VBMEG_LICENSE.txt) 0013 0014 if ~exist('obj', 'var'), error('obj is need parameter'); end 0015 0016 num = length(obj.point_list);