If you want to load a listbox with the contents of 9 string arrays, then (assuming you are using GUIDE to build your GUI) you can load the listbox in your GUI/figure's yourGuiName_OpeningFcn method (where yourGuiName is the name of your GUI)
load('s1.mat');
load('s2.mat');
data = [cellstr(s1) ; cellstr(s2)];
set(handles.listbox1,'String',data);
The above example is for two string arrays only. We use the cellstr on each array to convert the array into a cell array to allow for the concatenation into a cell array since that is the format for the selections into the listbox. If any of the 9 string arrays are already cell arrays, then you can ignore this conversion.
Now in order to append new data to the listbox selections, you can do the following
data = get(handles.listbox1,'String');
data = [data ; cellstr('blue')];
set(handles.listbox1,'String',data);
Try the above and see what happens!
Best Answer