scSaveImportedChannel
scSaveImportedChannel saves a channel to a sigTOOL kcl file
scSaveImportedChannel is called by various file import functions to save
data to a mat file using the kcl naming convention for variables
Some standard fields are added to the header by this function:
header.embeddeddata=true;% flag for embedded(true)/external(false) data
header.mapstructure.file='';% Name of the file
header.mapstructure.datatype=[]; % Data type on disc
header.mapstructure.dimensions=[]; % Array dimensions
header.mapstructure.offset=[]; % Offset in file
Example:
scSaveImportedChannel(matfilename, chan, data, header, mode)
scSaveImportedChannel does not return any values
Author: Malcolm Lidierth 10/06
Copyright © Kings College London 2006
Toolboxes required: None
Acknowledgements:
Revisions: 25.07.07 Mixed mode added
25.07.08 mappedfile/dataisembedded fields added to header
26.07.07 mapfunc field added
21.06.09 add classifier field to header