matlab listbox empty handles -


i programming guided user interface (gui) in matlab comprises drop down menu.

when element of drop down menu selected second gui opened contains listbox. listbox should display data have been been provided first gui.

passing data second gui works , can update handles variable accordingly. have problems populate listbox passed data because handles in listbox1_createfcn(hobject, eventdata, handles) empty:

    % --- executes during object creation, after setting properties.     %function listbox1_createfcn(hobject, eventdata, handles)     % hobject    handle listbox1 (see gcbo)     % eventdata  reserved - defined in future version of matlab     % handles    empty - handles not created until after createfcns called      % hint: listbox controls have white background on windows.     %       see ispc , computer.      set(hobject,'string', handles.stringdata); % line not work,                                                 % because handles empty      if ispc && isequal(get(hobject,'backgroundcolor'), (0,'defaultuicontrolbackgroundcolor'))        set(hobject,'backgroundcolor','white');     end 

do know solution problem ?

many in advance, engineer.m


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -