check parameter of vb_surf_smooth [USAGE] [result] = surf_smooth_parm_check_parameter(<obj>); [IN] obj : surf_smooth_parameter object [OUT] result : check result(SUCCESS/FAILURE) Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [result] = surf_smooth_parm_check_parameter(obj) 0002 % check parameter of vb_surf_smooth 0003 % [USAGE] 0004 % [result] = surf_smooth_parm_check_parameter(<obj>); 0005 % [IN] 0006 % obj : surf_smooth_parameter object 0007 % [OUT] 0008 % result : check result(SUCCESS/FAILURE) 0009 % 0010 % Copyright (C) 2011, ATR All Rights Reserved. 0011 % License : New BSD License(see VBMEG_LICENSE.txt) 0012 0013 % 0014 % --- Previous check 0015 % 0016 if ~exist('obj', 'var'), error('obj is a required parameter.'); end 0017 0018 % 0019 % --- Main Procedure 0020 % 0021 result = SUCCESS;