Select imat_result using a graphical interface.
g=uiselect(f)
g=uiselect(f,'Title')
g=uiselect(f,[presel])
g=uiselect(f,{'Attrib1','Attrib2','Attrib3'})
[g,ind]=uiselect(f)
[g,ind]=uiselect(f,'Title',[presel])
The UISELECT function brings up a result selection form, listing all elements of the imat_result. The user can select elements of f, then click on 'OK'. The selected elements are returned in the output argument g. If a title string is provided, it is used to name the result selection window. If a numeric vector is provided, the results corresponding to the indices in the vector will be preselected when the form is displayed. The optional second output argument ind will contain the indices into f of the functions selected and returned in g. The attributes listed in the attribute columns on the form will default to the attributes set by SETDISPLAY. Alternately, you can specify them by passing in a cell array of strings of attributes to display.
If the user clicks on 'Cancel', then g=-1 is returned.
The UISELECT form also contains a button that allows you to specify which attribute should be displayed in the form, and in what order.