write_class_box ( : : ClassifHandle, FileName : )

Save the classificator in a file.

write_class_box saves the classificator in a file. You may read the data by calling read_class_box.


Attention

If a file with this name exists, it is overwritten without a warning. The file can not be edited.


Parameters

ClassifHandle (input_control)
class_box -> integer
Classificator's handle number.

FileName (input_control)
filename -> string
Name of the file which contains the written data.
Default value: 'klassifikator1'


Result

write_class_box returns 2 (H_MSG_TRUE). An exception handling is raised if it was not possible to open file FileName.


Parallelization Information

write_class_box is local and processed completely exclusively without parallelization.


Possible Predecessors

create_class_box, enquire_class_box, learn_class_box, test_sampset_box, write_class_box


Possible Successors

close_class_box, clear_sampset


See also

create_class_box, read_class_box


Module

Tools



Copyright © 1996-2005 MVTec Software GmbH