IsFileIPWΒΆ

IsFileIPW checks if a file is a UniPlot file (IPW or IPZ).

nVersion = IsFileIPW(ssFileName)
nVersion = IsFileIPW(ssFileName, bReturnSectorSize)

Return Value

nVersion is the file version, e.g. 5000. In case the file is not an IPW or IPZ file the function returns 0. If the functions is called with the second parameter set to TRUE (1) nVersion is a vector with two elements. The first element is the file version and the second element the sector size (512 or 4096). See DocCreate.

Parameters

ssFileName

ssFileName is the complete path name of the file.

bReturnSectorSize

If bReturnSectorSize is TRUE (1) the return value contains the used sector size of the IPW file.

History

Version Description
R2012 Can be used for IPZ files.

id-260129