Create datafile on disk
B = CREATEDATAFILE(A,DIR,ROOT,TYPE,CMD,FMT)
The existing datafile A is recreated on disk, one file per object, including all preprocessing. The IDENT.IDENT field and the class priors of A are copied. All other addional information of A is lost. The order of objects in A and B may differ.
Raw datafiles are stored as integer images, use TYPE = 'cell' to store floats.
The difference between CREATEDATAFILE and SAVEDATAFILE is that the latter assumes that the datafile after completion by preprocessing can be converted into a dataset and the data is stored as such and as compact as possible. CREATEDATAFILE saves every object in a separate file and is thereby useful in case preprocessing does not yield a proper dataset with the same number of features for every object.