How to call some object handle from opening function of figure?
3 views (last 30 days)
I have a figure containing a listbox and pushbutton. What i want is that on opening the GUI, the listbox string sets to some matrix stored in the same directory. I put some commands in the figure opening function, but could not get the desired results. In short , am unable to call the listbox object from the figure opening function.
Thanks in advance..
Vladimir Sovkov on 30 Jan 2020
u0=findobj('Tag','lst1','Style','listbox','Parent',gcf); % search for all the object properties you used to identify it
set(u0,'String',[1;2;3]); % set a vector of numbers or strings