MATLAB Function Reference |
Description
This table shows the file formats that MATLAB is capable of reading.
File Format |
Extension |
File Content |
Read Command |
Returns |
Text | MAT |
Saved MATLAB workspace |
|
Variables in the file |
CSV |
Comma-separated numbers |
|
Double array |
|
DLM |
Delimited text |
|
Double array |
|
TAB |
Tab-separated text |
|
Double array |
|
Scientific Data | CDF |
Data in Common Data Format |
|
Cell array of CDF records |
FITS |
Flexible Image Transport System data |
|
Primary or extension table data |
|
HDF |
Data in Hierarchical Data Format |
|
HDF or HDF-EOS data set |
|
Spread- sheet | XLS |
Excel worksheet |
|
Double or cell array |
WK1 |
Lotus 123 worksheet |
|
Double or cell array |
|
Image | TIFF |
TIFF image |
|
True color, grayscale, or indexed image(s) |
PNG |
PNG image |
|
True color, grayscale, or indexed image |
|
HDF |
HDF image |
|
True color, grayscale, or indexed image(s) |
|
BMP |
BMP image |
|
True color or indexed image |
|
JPEG |
JPEG image |
|
True color or grayscale image |
|
GIF |
GIF image |
|
Indexed image |
|
PCX |
PCX image |
|
Indexed image |
|
XWD |
XWD image |
|
Indexed image |
|
CUR |
Cursor image |
|
Indexed image |
|
ICO |
Icon image |
|
Indexed image |
|
Audio file | AU |
NeXT/SUN sound |
|
Sound data and sample rate |
WAV |
Microsoft WAVE sound |
|
Sound data and sample rate |
|
Movie |
AVI |
Audio/video |
|
MATLAB movie |
See Also
fscanf
, fread
, textread
, importdata
filebrowser | fileparts |
© 1994-2005 The MathWorks, Inc.