Home > functions > job > job_edit_act_dir > job_edit_act_change_radius.m

job_edit_act_change_radius

PURPOSE ^

SYNOPSIS ^

function job_edit_act_change_radius(inst_id)

DESCRIPTION ^

 Change radius


 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005