MpatWrite()函数

Synopsis

Write a pattern matching model to an open file.

Format

void MpatWrite(FileHandle, ModelId)

FILE* FileHandle; Model file handle
MIL_ID ModelId; Model identifier

Description

This function writes all the information about the previously allocated model to the current file position of an open file, including all of the model’s current search parameter values and any effects of preprocessing. This information can later be reloaded with MpatRead.

The FileHandle parameter specifies the handle of the open file (opened with the standard C function fopen()). The model is written starting at the current file position. After writing, the file remains open and is positioned immediately after the model just written.

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

See also

MpatRestore, MpatWrite, MpatRead

《MpatWrite()函数》上有27条评论

评论已关闭。