isnitf

Check if file is National Imagery Transmission Format (NITF) file

Description

[tf,NITFversion] = isnitf(filename) returns true if the file specified by filename is a National Imagery Transmission Format (NITF) file. isnitf also returns the NITF version of valid NITF files in NITFversion.

Input Arguments

collapse all

Name of file, specified as a character vector or string scalar.

Data Types: char | string

Output Arguments

collapse all

File is an NITF file, returned as true or false.

NITF version of the file, returned as a character vector such as '2.1'. If the file is not an NITF file, then NITFversion is returned as 'UNK'.

See Also

|

Introduced in R2007b