CuBatch

Location: ..\CuBatch\CuBatch.m

function CuBatch (Mode);

Description:
Cubatch main file. It handles the events occurring within the main window
The main CuBatch window is given the 'userdata': 'CuBatch'. If this property changes error messages will appear. If it is necessary to save further data use: SetCVData
The following application-defined data are created within Cubatch.m for the main window

The following is application-defined data is created for 'root'
CVCharWidth: character width (see CharWidth)


Inputs:
Mode
(optional): can either be 'advanced' or 'plant' (case insensitive), or NaN.
I
f it is not defined a requester is opened so that the user can choose the desired option (in this case only between 'advanced' or 'plant'). The value is saved in the application-defined data 'Mode' of the main CuBatch window.
This parameter assumes value NaN when the function is called as a callback function of one of the objects within the main window or by any of the children figures. The part of the code that has to be executed in the callback mode is determined on the basis of the callback-object's tag.

Outputs:
None

Called by:
CuBatch itself, in the callback mode.

Subroutines:
Internal
DefMenus, SaveModel, CopyrightWarn
External: activateplots, avmodels, cenwindow, clearusemodel, ctag, cubatch, decomp_menu, defaultplot, definemodelout, dispatch_apply, dispatch_compute, displayinfo, displaymodel, editlabels, exportdata, getcvdata, guinames, importdata, initialise, permutewindow, regress_menu, regression, rempath, reshapewindow, savereport, selectsamples, selectvariables, setcvdata, setpath, viewdata

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

Last modified: 05-Nov-2002 16:55:48

Contact: Giorgio Tomasi, gt@kvl.dk

References


DefMenus

File: CuBatch.m

function GlHan = DefMenus(H,Mode)

Description
:
Creates main windows' menus.

Inputs:
H: main window handle
Mode: can either be 'advanced' or 'plant' (case insensitive).

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

Last modified: 21 Oct. 2002

Contact: Giorgio Tomasi, gt@kvl.dk


SaveModel

File: CuBatch.m

function SaveModel(File,ModelOut)

Description
:
Save ModelOut in file File.

Inputs:
File: string with full path file-name
ModelOut: ModelOut structure.

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

Last modified: 21 Oct. 2002

Contact: Giorgio Tomasi, gt@kvl.dk


CopyrightWarn

File: CuBatch.m

function CopyrightWarn

Description
:
Shows a message box with warnings about the copyright

Author:
Sébastien Gourvénec
ChemoAC, V.U.B., Laarbeeklaan 103,
B-1090 Brussel
Belgium
Date: July 2002

Contact: Sébastien Gourvénec: sebastien.gourvenec@vub.ac.be