Select functions using a graphical interface.
g=uiselect(f)
[g,fnind,attrib,zfilt]=uiselect(f,title,presel,filter,attrib,'adfsel')
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'))
UISELECT brings up a function selection form, listing all elements of the imat_fn F. The user can select functions of F, then click on 'Okay'. The selected functions are returned in G. If the user clicks on 'Cancel', then G = -1 is returned.
Five optional input arguments are supported. TITLE allows you to set the function selection dialog title. PRESEL is a numeric vector defining a list of functions in G to be preselected on the form. FILTER is an imat_filt. If supplied, the filter will automatically be toggled on and UISELECT will display the filtered list of functions. If PRESEL is also supplied, FILTER is applied after PRESEL. ATTRIB is a cell array of strings containing the names of the attributes to be displayed. The optional input string 'adfsel' will enable and display the ADF Selection button on the form. It is not displayed by default.
Four output arguments are supported. G contains the selected functions. FNIND is a numeric vector containing indices into F for the functions returned in F. ATTRIB is a cell array of strings containing the names of the displayed attributes. ZFILT is the currently applied filter (empty if none was applied).
imat_fn/uiselect, imat_filt/uiselect,imat_shp/uiselect, imat_result/uiselect, imat_ctrace/uiselect, imat_shp/setdisplay