Prev: WindowButtonMotionFcn Hang
Next: contour color question
From: J J on 9 Jul 2010 17:19 Thanks...I'll give this a try. Walter Roberson <roberson(a)hushmail.com> wrote in message <i182og$5gb$1(a)canopus.cc.umanitoba.ca>... > J J wrote: > > To be more specific, here is the code you are refering to. > > ------------- > > > > function input1_Callback(hObject, eventdata, handles) > > > > input1=get(hObject,'String'); > > > > guidata(hObject, handles); > > > > function input1_CreateFcn(hObject, eventdata, handles) > > > > if ispc && isequal(get(hObject,'BackgroundColor'), > > get(0,'defaultUicontrolBackgroundColor')) > > set(hObject,'BackgroundColor','white'); > > end > > > > function input2_Callback(hObject, eventdata, handles) > > > > input2=str2num(get(hObject,'String')); > > > > guidata(hObject, handles); > > > > function input2_CreateFcn(hObject, eventdata, handles) > > > > if ispc && isequal(get(hObject,'BackgroundColor'), > > get(0,'defaultUicontrolBackgroundColor')) > > set(hObject,'BackgroundColor','white'); > > end > > ...etc > > > Any routine that is only called through eval() or feval() or by way of a > callback in which the routine name is a quoted string, will not be found by > the dependency analysis routine, and therefore will not be included in the > executable. So in gui.m, add lines such as > > %#function input1_Callback > %#function input2_Callback > > naming all of the file names that are not automatically detectable. > > http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/function.html |