Next: MATLAB files
Up: Underlying Structure
Previous: Stand-alone C Programs
In addition to stand-alone C programs, the underlying structure also includes
several CMEX programs which are dynamically linked by MATLAB. Please see the
MATLAB External Interface Guide for an explanation of CMEX files.
- mireadvar - Read a hyperslab from a MINC (or any NetCDF)
file into a MATLAB vector, using NetCDF-style start and count
vectors. Note that the indexing of start_vector and
stop_vector is zero-based.
mireadvar ('minc_file', 'var_name', start_vector, count_vector)
- mireadimages - Read images from a MINC file. Opens the
given MINC file, and attempts to read whole or partial images from the
slices and frames specified in the slices and frames vectors. If
start_row and num_rows are not specified, then whole
images are read. If only start_row is specified, a single row
will be read. If both start_rows and num_rows are
given, then the specified number of rows will be read (unless either
is out of bounds, which will result in an error message).
mireadimages ('minc_file'[, slices[, frames[, options]]])
- miinquire - find out various things about a MINC file
from MATLAB. Retrieves some item(s) of information about a MINC file.
The first argument is always the name of the MINC file. Following the
filename can come any number of ``option sequences'', which consist of
the option (a string) followed by zero or more items (more strings).
Generally speaking, the ``option'' tells miinquire the general class
of information you're looking for (such as an attribute value or a
dimension length), and the item or items that follow it give
miinquire more details, such as the name of a dimension,
variable, or attribute.
miinquire ('minc_file' [, 'option' [, 'item']], ...)