EditLabels

Location: ..\CuBatch\EditLabels.m

function Cont = EditLabels (Content);

Description:
Opens a window to edit the additional information about the array (either single or multiple set) associated to Content  and handles the corresponding events.
The following application-defined data are assigned to the figure
Handles: structure with the handles to the menus
Content: interim Content


Inputs:
Content: it can be Content object or NaN. In the former case it is the data structure that is to be edited. In the latter, the function operates as a callback function
and the code to execute is determined by the 'tag' of the callback object.

Outputs:
Cont: Insert description

Called by:
CuBatch

Subroutines:
InternalMakeLab, DefMenus
External: cenwindow, ctag, getcvdata, guinames, setcvdata

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

Last modified: 21-Oct-2002 05:05:22

Contact: Giorgio Tomasi, gt@kvl.dk

References


DefMenus

function Han = DefMenus(h,Content)

Description
:
Creates EditLabels-windows' menus.

Inputs:
h: EditLabels window handle
Content: Content object passed as a parameter to EditLabels.

Outputs:
Han: Handles to the menus in the EditLabels window

Subroutines:
Internal:    none   
External:   
guinames

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


MakeLab

function
Labs = DefMenus(Content)

Description
:
Creates a cell array of chars out of the raw (from an ASCII file) content of a file.
Each row corresponds to an element of the final cell vector of chars.
It is used when the "import from .txt" menu is applied.

Inputs:
Content: raw content (as chars) of a loaded file.

Outputs:
Labs:
Cell vector of chars containing the strings

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