function pushbutton1_Callback(hObject, eventdata, handles)
x = (1:1);
a = get(handles.listbox1,'Value');
Basically, I want to create an array of variables with different values each and play them with function 'sound'. The array of variables are selected by user using variables from listbox and are added into array using 'add pushbutton'. For example I have a listbox of 'A' 'B' 'C', and when the user chose the order 'C' 'A' 'A' 'B' 'B' to be sounded. How do I create that code to put in what user selected from listbox and put them into array accordingly?