2

I am running Matlab r2011a on a mac osx lion.

I use uigetfile in my matlab environment and it works fine. However, as soon as I compile a standalone app, it decides to not show my uigetfile window when I call it. Any idea what could be wrong?

Thanks

CODE:

% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
[handles.file,handles.dir] = uigetfile('*.xls');

set(handles.edit1,'String',strcat(handles.dir,handles.file));
guidata(hObject,handles);
drawnow('expose');
drawnow('update');
ephsmith
  • 398
  • 3
  • 12
Joe C
  • 21
  • 1

0 Answers0