MATLAB: Multiple choices in a listbox

listboxmultiple elements

I want to select multiple elements of a listbox and show them in another one. How can i do this in a simple way?
thanks

Best Answer

If you set 'min' to 0 and 'max' to 10, you will be able to select multiple strings. Once you have that you can get the choices by:
C = get(U,{'string','value'})
C = C{1}(C{2})
Then set the 'string' property of the other listbox to C.