MATLAB: How to remove the Default selection in Listbox GUI

guilistbox

I always see the top option in the listbox is default selected. How to remove this default selection?
Please help me. I checked the property inspector but couldn't find any solution. Thanks!

Best Answer

If you'd rather have the 2nd one as default set the 'Value' property to 2.
If you want there to be no default, set the 'Value' property to an empty matrix and set the 'Max' and 'Min' properties to satisfy the following condition:
Max - Min > 1
Note that this will also allow the user to select >1 from the listbox. More info .