SETB Set the property 'b' %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SETB Set the property 'b' CALL: obj = obj.setB(12); obj = setB(obj, 12); INPUTS: obj - is a miir object VERSION: $Id: setB.m,v 1.2 2008/07/22 10:22:39 ingo Exp $ HISTORY: 16-07-2008 Diepholz Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 % SETB Set the property 'b' 0002 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0003 % 0004 % DESCRIPTION: SETB Set the property 'b' 0005 % 0006 % CALL: obj = obj.setB(12); 0007 % obj = setB(obj, 12); 0008 % 0009 % INPUTS: obj - is a miir object 0010 % 0011 % VERSION: $Id: setB.m,v 1.2 2008/07/22 10:22:39 ingo Exp $ 0012 % 0013 % HISTORY: 16-07-2008 Diepholz 0014 % Creation 0015 % 0016 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0017 0018 function obj = setB(obj, val) 0019 %%% decide whether we modify the miir-object, or create a new one. 0020 obj = copy(obj, nargout); 0021 0022 %%% set 'b' 0023 obj.b = val; 0024 end 0025