Next: Stand-alone C Programs Up: EMMA: Extensible MATLAB Medical Previous: Using an Integrated

Underlying Structure

EMMA has a set of underlying functions written in C that provide the interface to MINC files. An EMMA user will not ordinarily require use of these functions since every interaction with MINC files should be possible using the MATLAB scripts and functions provided (.m files). However, for the sake of completeness, these functions are documented in this section.

MATLAB provides an interface to external C programs that allows dynamic linking at runtime. This interface, called CMEX, is detailed in the MATLAB External Interface Guide. Please consult this guide for further details. Unfortunately, due to problems with the CMEX interface, it was not possible to create any CMEX programs that wrote to MINC files. Therefore, all of the MINC creation and writing functions are written as stand-alone C programs, and all of the MINC reading functions are written as CMEX programs.