Changeset 421 for trunk/src/msgbox_uvmat.m
- Timestamp:
- May 14, 2012, 7:03:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/msgbox_uvmat.m
r296 r421 38 38 39 39 % --- Executes just before msgbox_uvmat is made visible. 40 function msgbox_uvmat_OpeningFcn(hObject, eventdata, handles,title,display ,default_answer,Position)40 function msgbox_uvmat_OpeningFcn(hObject, eventdata, handles,title,display_str,default_answer,Position) 41 41 % This function has no output args, see OutputFcn. 42 42 … … 74 74 case 'ERROR' 75 75 icontype='error'; 76 if exist('display_str','var') 77 disp(display_str); %display the error message in the Matlab command window 78 end 76 79 case 'WARNING' 77 80 icontype='warn'; … … 92 95 end 93 96 end 94 if exist('display ','var')95 set(handles.text1, 'String', display );97 if exist('display_str','var') 98 set(handles.text1, 'String', display_str); 96 99 end 97 100 % if testinputstring
Note: See TracChangeset
for help on using the changeset viewer.