gridfile.gridfile

Return a gridfile object for a .grid file


Syntax



Description

obj = gridfile(filename)

Builds a gridfile object for the specified file.

obj = gridfile(filenames)

Builds an array of gridfiles for the specified files. The output array will have the same size as the “filenames” input, and each element will be the gridfile object for the corresponding file.


Input Arguments

filenames

string array | cellstring array | character row vector
The name of the .grid files for which to build gridfile objects. The output gridfile array will have the same size as this input.

Output Arguments

obj

scalar gridfile object | gridfile array
A gridfile object for the file or gridfile array for the set of files.