MpatSave()函数

Synopsis

Save a pattern matching model to disk.

Format

void MpatSave(FileName, ModelId)

char *FileName; Model file name
MIL_ID ModelId; Model identifier

Description

This function saves all the information about the previously allocated model to disk, including all of the model’s current search parameters values and any effects of preprocessing. Later, this information can be reloaded, using MpatRestore.

The FileName parameter specifies the model file name. If this file already exists, it will be overwritten. The function handles (internally) the opening and closing of this file.

The ModelId parameter specifies the identifier of the model buffer to save.

See also

MpatRestore, MpatWrite, MpatRead

《MpatSave()函数》上有3条评论

评论已关闭。