28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Field Value<br />

alpha Returns 1 if the format has an alpha channel, 0<br />

otherwise<br />

description A text description of the file format<br />

imformats<br />

Note The values for the isa, info, read, and write fields must be functions<br />

on the MATLAB search path or function handles.<br />

formats = imformats('fmt') searches the known formats in the MATLAB<br />

file format registry for the format associated with the filename extension<br />

'fmt'. If found, imformats returns a structure containing the characteristics<br />

and function names associated with the format. Otherwise, it returns an empty<br />

structure.<br />

formats = imformats(format_struct) sets the MATLAB file format registry<br />

to the values in format_struct. The output structure, formats, contains the<br />

new registry settings.<br />

Caution Using imformats to specify values in the MATLAB file format<br />

registry can result in the inability to load any image files. To return the file<br />

format registry to a working state, use imformats with the 'factory' setting.<br />

formats = imformats('factory') resets the MATLAB file format registry to<br />

the default format registry values. This removes any user-specified settings.<br />

Changes to the format registry do not persist between MATLAB sessions. To<br />

have a format always available when you start MATLAB, add the appropriate<br />

imformats command to the MATLAB startup file, startup.m, located in<br />

$MATLAB/toolbox/local on UNIX systems, or $MATLAB\toolbox\local on<br />

Windows systems.<br />

Example formats = imformats;<br />

formats(1)<br />

2-1145

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!