Select functions using a graphical interface.
g=uiselect(f)
g=uiselect(f,'Title')
g=uiselect(f,[presel])
g=uiselect(f,'adfsel')
g=uiselect(f,{'Attrib1','Attrib2','Attrib3'})
[g,ind]=uiselect(f)
[g,ind]=uiselect(f,'Title',[presel])
[g,ind]=uiselect(f,'Title',imat_filt('Functiontype','=','Time response'))
The UISELECT function brings up a function selection form similar to the IMAT Function selection form, listing all elements of the imat_fn. 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 function selection window. If a numeric vector is provided, the functions corresponding to the indices in the vector will be preselected when the form is displayed. A third optional argument, an imat_filt, can also be supplied. If supplied, the filter will be turned on, and the initial function list will be filtered. 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.
The optional input string 'adfsel' will enable and display the ADF Selection button on the form. It is not displayed by default.
If the user clicks on 'Cancel', then g=-1 is returned.
The function selection window also provides buttons named "ADF Selection" and "Filter". The "ADF Selection" button brings up a file dialog, and adds records from the selected ADF to the function selection form. The "Filter" button allows you to build a filter which controls which functions are displayed.