% procedure for 'aim-mat'
% 
%   INPUT VALUES:
%  
%   RETURN VALUE:
%
% (c) 2011, University of Southampton
% Maintained and written by Stefan Bleeck (bleec@gmail.com)
% http://www.soton.ac.uk/aim


function handles=edit_scale(hObject, eventdata, handles)


curval=get(hObject,'String');
curval=str2num(curval);
handles.slideredit_scale=...
	slidereditcontrol_set_raweditvalue(handles.slideredit_scale,curval);


return



% strval=str2double(get(hObject,'String'));
% von=handles.data.min_scale;
% bis=handles.data.max_scale;
% if strval>bis
%     strval=bis;
% end
% if strval<von
%     strval=von;
% end
% val=f2f(strval,von,bis,0,1,'loglin');
% val=fround(val,3);
% set(handles.slider1,'Value',val);
