ExportData
Location: ..\CuBatch\ExportData.m

function ExportData (ModelIn);
Description:
Exports a subset or the whole (the choice is made through a standard questdlg requester) of the current X data structure to a .mat file.
The data are exported as cbdataset objects.
The name of the variable within the saved file depends on the position of the original data array within the X data structure: it is 'X' if it was stored (even if the saved object is a subset) in X{1}; and 'Y' otherwise.
Inputs:
ModelIn: ModelIn structure. The selections on both samples/batches and variables made in the main section are not used here.

Outputs:
None

Called by:
CuBatch
Subroutines:
Internal: None
External: cenwindow, definearray, selectsamples, selectvariables

Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark
Last modified: 26-Oct-2002 23:47:50
Contact: Giorgio Tomasi, gt@kvl.dk
References