Change radius Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function job_edit_act_change_radius(inst_id) 0002 % 0003 % Change radius 0004 % 0005 % 0006 % Copyright (C) 2011, ATR All Rights Reserved. 0007 % License : New BSD License(see VBMEG_LICENSE.txt) 0008 0009 global vbmeg_inst; 0010 0011 % GUI handles 0012 ed2 = vbmeg_inst.editact{inst_id}.ed2; 0013 0014 % Check value 0015 r = str2num(get(ed2,'String')); 0016 if r<1, r=1; end; 0017 set(ed2,'String',num2str(r)); 0018