SelectVariables

Location: ..\CuBatch\SelectVariables.m

function Model = SelectVariables (Model,Way);

Description:
Opens the window for selecting variables in one of the loaded arrays X (and Y when it is the case) and handles the corresponding events.
The selection window is assigned the following application-defined data:
'Model': the interim ModelIn structure
'Handles': window/object handles
'IO': index in the X data structure


Inputs:
Model: ModelIn structure (at the first call), NaN when handling callback events

Way, Value Array InOut Figure's title
'In' X 1 'X Variables'
'Out' Y 2 'Y Variables'
'Matrix' X 1 'Variables selection'


Outputs
:
Model: ModelIn structure

Called by:
CuBatch, ExportData

Subroutines:
Internal: None
External: charwidth, ctag, cval, getcvdata, guinames, screensize, setcvdata, skcell

Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark

Last modified: 21-Oct-2002 04:20:58

Contact: Giorgio Tomasi, gt@kvl.dk

References