| Contents | Index |
|
For a
list of
file formats that you can read with MATLAB®, see Supported File Formats.
| daqread | Read Data Acquisition Toolbox (.daq) file |
| importdata | Load data from file |
| load | Load data from MAT-file into workspace |
| matfile | Load and save parts of variables in MAT-files |
| open | Open file in appropriate application |
| save | Save workspace variables to file |
| uigetdir | Open standard dialog box for selecting directory |
| uigetfile | Open standard dialog box for retrieving files |
| uiimport | Open Import Wizard to import data |
| uiputfile | Open standard dialog box for saving files |
| uisave | Interactively save workspace variables to MAT-file |
| winopen | Open file in appropriate application (Windows) |
| csvread | Read comma-separated value file |
| csvwrite | Write comma-separated value file |
| dlmread | Read ASCII-delimited file of numeric data into matrix |
| dlmwrite | Write matrix to ASCII-delimited file |
| fileread | Read contents of file into string |
| textread | Read data from text file; write to multiple outputs |
| textscan | Read formatted data from text file or string |
| type | Display contents of file |
|
| xlsfinfo | Determine whether file contains Microsoft Excel spreadsheet |
| xlsread | Read Microsoft Excel spreadsheet file |
| xlswrite | Write Microsoft Excel spreadsheet file |
| wk1finfo | Determine whether file contains 1-2-3 WK1 worksheet |
| wk1read | Read Lotus 1-2-3 WK1 spreadsheet file into matrix |
| wk1write | Write matrix to Lotus 1-2-3 WK1 spreadsheet file |
| fclose | Close one or all open files |
| feof | Test for end-of-file |
| ferror | Information about file I/O errors |
| fgetl | Read line from file, removing newline characters |
| fgets | Read line from file, keeping newline characters |
| fopen | Open file, or obtain information about open files |
| fprintf | Write data to text file |
| fread | Read data from binary file |
| frewind | Move file position indicator to beginning of open file |
| fscanf | Read data from text file |
| fseek | Move to specified position in file |
| ftell | Position in open file |
| fwrite | Write data to binary file |
| exifread | Read EXIF information from JPEG and TIFF image files |
| im2java | Convert image to Java image |
| imfinfo | Information about graphics file |
| imread | Read image from graphics file |
| imwrite | Write image to graphics file |
| Tiff | MATLAB Gateway to LibTIFF library routines |
|
High-level I/O Functions
| cdfepoch | Convert MATLAB formatted dates to CDF formatted dates |
| cdfinfo | Information about Common Data Format (CDF) file |
| cdfread | Read data from Common Data Format (CDF) file |
| cdfwrite | Write data to Common Data Format (CDF) file |
| todatenum | Convert CDF epoch object to MATLAB datenum |
Library Information
| cdflib | Summary of Common Data Format (CDF) capabilities |
| cdflib.getConstantNames | Names of Common Data Format (CDF) library constants |
| cdflib.getConstantValue | Numeric value corresponding to Common Data Format (CDF) library constant |
| cdflib.getFileBackward | Return current backward compatibility mode setting |
| cdflib.getLibraryCopyright | Copyright notice of Common Data Format (CDF) library |
| cdflib.getLibraryVersion | Library version and release information |
| cdflib.getValidate | Library validation mode |
| cdflib.setFileBackward | Set backward compatibility mode |
| cdflib.setValidate | Specify library validation mode |
File Operations
| cdflib.close | Close Common Data Format (CDF) file |
| cdflib.create | Create Common Data Format (CDF) file |
| cdflib.delete | Delete existing Common Data Format (CDF) file |
| cdflib.getCacheSize | Number of cache buffers used |
| cdflib.getChecksum | Checksum mode |
| cdflib.getCompression | Compression settings |
| cdflib.getCompressionCacheSize | Number of compression cache buffers |
| cdflib.getCopyright | Copyright notice in Common Data Format (CDF) file |
| cdflib.getFormat | Format of Common Data Format (CDF) file |
| cdflib.getMajority | Majority of variables |
| cdflib.getName | Name of Common Data Format (CDF) file |
| cdflib.getReadOnlyMode | Read-only mode |
| cdflib.getStageCacheSize | Number of cache buffers for staging |
| cdflib.getVersion | Common Data Format (CDF) library version and release information |
| cdflib.inquire | Basic characteristics of Common Data Format (CDF) file |
| cdflib.open | Open existing Common Data Format (CDF) file |
| cdflib.setCacheSize | Specify number of dotCDF cache buffers |
| cdflib.setChecksum | Specify checksum mode |
| cdflib.setCompression | Specify compression settings |
| cdflib.setCompressionCacheSize | Specify number of compression cache buffers |
| cdflib.setFormat | Specify format of Common Data Format (CDF) file |
| cdflib.setMajority | Specify majority of variables |
| cdflib.setReadOnlyMode | Specify read-only mode |
| cdflib.setStageCacheSize | Specify number of staging cache buffers for Common Data Format (CDF) file |
Variables
| cdflib.closeVar | Close specified variable from multifile format Common Data Format (CDF) file |
| cdflib.createVar | Create new variable |
| cdflib.deleteVar | Delete variable |
| cdflib.deleteVarRecords | Delete range of records from variable |
| cdflib.getVarAllocRecords | Number of records allocated for variable |
| cdflib.getVarBlockingFactor | Blocking factor for variable |
| cdflib.getVarCacheSize | Number of multifile cache buffers |
| cdflib.getVarCompression | Information about compression used by variable |
| cdflib.getVarData | Single value from record in variable |
| cdflib.getVarMaxAllocRecNum | Maximum allocated record number for variable |
| cdflib.getVarMaxWrittenRecNum | Maximum written record number for variable |
| cdflib.getVarName | Variable name, given variable number |
| cdflib.getVarNum | Variable number, given variable name |
| cdflib.getVarNumRecsWritten | Number of records written to variable |
| cdflib.getVarPadValue | Pad value for variable |
| cdflib.getVarRecordData | Entire record for variable |
| cdflib.getVarReservePercent | Compression reserve percentage for variable |
| cdflib.getVarsMaxWrittenRecNum | Maximum written record number for CDF file |
| cdflib.getVarSparseRecords | Information about how variable handles sparse records |
| cdflib.hyperGetVarData | Read hyperslab of data from variable |
| cdflib.hyperPutVarData | Write hyperslab of data to variable |
| cdflib.inquireVar | Information about variable |
| cdflib.putVarData | Write single value to variable |
| cdflib.putVarRecordData | Write entire record to variable |
| cdflib.renameVar | Rename existing variable |
| cdflib.setVarAllocBlockRecords | Specify range of records to be allocated for variable |
| cdflib.setVarBlockingFactor | Specify blocking factor for variable |
| cdflib.setVarCacheSize | Specify number of multi-file cache buffers for variable |
| cdflib.setVarCompression | Specify compression settings used with variable |
| cdflib.setVarInitialRecs | Specify initial number of records written to variable |
| cdflib.setVarPadValue | Specify pad value used with variable |
| cdflib.SetVarReservePercent | Specify reserve percentage for variable |
| cdflib.setVarsCacheSize | Specify number of cache buffers used for all variables |
| cdflib.setVarSparseRecords | Specify how variable handles sparse records |
Attributes and Entries
| cdflib.createAttr | Create attribute |
| cdflib.deleteAttr | Delete attribute |
| cdflib.deleteAttrEntry | Delete attribute entry |
| cdflib.deleteAttrgEntry | Delete entry in global attribute |
| cdflib.getAttrEntry | Value of entry in attribute with variable scope |
| cdflib.getAttrgEntry | Value of entry in global attribute |
| cdflib.getAttrMaxEntry | Number of last entry for variable attribute |
| cdflib.getAttrMaxgEntry | Number of last entry for global attribute |
| cdflib.getAttrName | Name of attribute, given attribute number |
| cdflib.getAttrNum | Attribute number, given attribute name |
| cdflib.getAttrScope | Scope of attribute |
| cdflib.getNumAttrEntries | Number of entries for attribute with variable scope |
| cdflib.getNumAttrgEntries | Number of entries for attribute with global scope |
| cdflib.getNumAttributes | Number of attributes with variable scope |
| cdflib.getNumgAttributes | Number of attributes with global scope |
| cdflib.inquireAttr | Information about attribute |
| cdflib.inquireAttrEntry | Information about entry in attribute with variable scope |
| cdflib.inquireAttrgEntry | Information about entry in attribute with global scope |
| cdflib.putAttrEntry | Write value to entry in attribute with variable scope |
| cdflib.putAttrgEntry | Write value to entry in attribute with global scope |
| cdflib.renameAttr | Rename existing attribute |
Utilities
| cdflib.computeEpoch | Convert time value to CDF_EPOCH value |
| cdflib.computeEpoch16 | Convert time value to CDF_EPOCH16 value |
| cdflib.epoch16Breakdown | Convert CDF_EPOCH16 value to time value |
| cdflib.epochBreakdown | Convert CDF_EPOCH value into time value |
High-level I/O Functions
| nccreate | Create variable in NetCDF file |
| ncdisp | Display contents of NetCDF file in Command Window |
| ncinfo | Return information about NetCDF file |
| ncread | Read data from variable in NetCDF file |
| ncreadatt | Read attribute value from NetCDF file |
| ncwrite | Write data to NetCDF file |
| ncwriteatt | Write attribute to NetCDF file |
| ncwriteschema | Add NetCDF schema definitions to NetCDF file |
Library Functions
| netcdf.setChunkCache | Set default chunk cache settings for NetCDF library |
| netcdf | Summary of MATLAB Network Common Data Form (NetCDF) capabilities |
| netcdf.getChunkCache | Retrieve chunk cache settings for NetCDF library |
| netcdf.inqLibVers | Return netCDF library version information |
| netcdf.setDefaultFormat | Change default netCDF file format |
File Operations
| netcdf.abort | Revert recent netCDF file definitions |
| netcdf.close | Close netCDF file |
| netcdf.create | Create new NetCDF dataset |
| netcdf.endDef | End netCDF file define mode |
| netcdf.inq | Return information about netCDF file |
| netcdf.inqFormat | Determine format of NetCDF file |
| netcdf.inqGrps | Retrieve array of child group IDs |
| netcdf.inqUnlimDims | Return list of unlimited dimensions in group |
| netcdf.open | Open netCDF file |
| netcdf.reDef | Put open netCDF file into define mode |
| netcdf.setFill | Set netCDF fill mode |
| netcdf.sync | Synchronize netCDF file to disk |
Dimensions
| netcdf.defDim | Create netCDF dimension |
| netcdf.inqDim | Return netCDF dimension name and length |
| netcdf.inqDimID | Return dimension ID |
| netcdf.renameDim | Change name of netCDF dimension |
Groups
| netcdf.defGrp | Create group in NetCDF file |
| netcdf.inqDimIDs | Retrieve list of dimension identifiers in group |
| netcdf.inqGrpName | Retrieve name of group |
| netcdf.inqGrpNameFull | Complete pathname of group |
| netcdf.inqGrpParent | Retrieve ID of parent group. |
| netcdf.inqNcid | Return ID of named group |
| netcdf.inqVarIDs | IDs of all variables in group |
Variables
| netcdf.defVarFill | Define fill parameters for NetCDF variable |
| netcdf.inqVarDeflate | Determine compression settings for NetCDF variable |
| netcdf.defVar | Create NetCDF variable |
| netcdf.defVarChunking | Define chunking behavior for NetCDF variable |
| netcdf.defVarDeflate | Define compression parameters for NetCDF variable |
| netcdf.defVarFletcher32 | Define checksum parameters for NetCDF variable |
| netcdf.getVar | Return data from netCDF variable |
| netcdf.inqVar | Return information about variable |
| netcdf.inqVarChunking | Determine chunking settings for NetCDF variable |
| netcdf.inqVarFill | Determine values of fill parameters for NetCDF variable |
| netcdf.inqVarFletcher32 | Fletcher32 checksum setting for NetCDF variable |
| netcdf.inqVarID | Return ID associated with variable name |
| netcdf.putVar | Write data to netCDF variable |
| netcdf.renameVar | Change name of netCDF variable |
Attributes
| netcdf.copyAtt | Copy attribute to new location |
| netcdf.delAtt | Delete netCDF attribute |
| netcdf.getAtt | Return netCDF attribute |
| netcdf.inqAtt | Return information about netCDF attribute |
| netcdf.inqAttID | Return ID of netCDF attribute |
| netcdf.inqAttName | Return name of netCDF attribute |
| netcdf.putAtt | Write netCDF attribute |
| netcdf.renameAtt | Change name of attribute |
Utilities
| netcdf.getConstant | Return numeric value of named constant |
| netcdf.getConstantNames | Return list of constants known to netCDF library |
| fitsinfo | Information about FITS file |
| fitsread | Read data from FITS file |
| h5create | Create HDF5 data set |
| h5disp | Display contents of HDF5 file |
| h5info | Return information about HDF5 file |
| h5read | Read data from HDF5 data set |
| h5readatt | Read attribute from HDF5 file |
| h5write | Write to HDF5 data set |
| h5writeatt | Write HDF5 attribute |
| hdf | Summary of MATLAB HDF4 capabilities |
| hdf5 | Summary of MATLAB HDF5 capabilities |
| hdf5info | Information about HDF5 file |
| hdf5read | Read HDF5 file |
| hdf5write | Write data to file in HDF5 format |
| hdfinfo | Information about HDF4 or HDF-EOS file |
| hdfread | Read data from HDF4 or HDF-EOS file |
| hdftool | Browse and import data from HDF4 or HDF-EOS files |
| multibandread | Read band-interleaved data from binary file |
| multibandwrite | Write band-interleaved data to file |
|
| aufinfo | Information about NeXT/SUN (.au) sound file |
| auread | Read NeXT/SUN (.au) sound file |
| auwrite | Write NeXT/SUN (.au) sound file |
| avifile | Create new Audio/Video Interleaved (AVI) file |
| aviinfo | Information about Audio/Video Interleaved (AVI) file |
| aviread | Read Audio/Video Interleaved (AVI) file |
| mmfileinfo | Information about multimedia file |
| mmreader | Create object for reading video files |
| movie2avi | Create Audio/Video Interleaved (AVI) file from MATLAB movie |
| VideoReader | Read video files |
| VideoWriter | Write video files |
| wavfinfo | Information about WAVE (.wav) sound file |
| wavread | Read WAVE (.wav) sound file |
| wavwrite | Write WAVE (.wav) sound file |
| audiodevinfo | Information about audio device |
| audioplayer | Create object for playing audio |
| audiorecorder | Create object for recording audio |
| sound | Convert matrix of signal data to sound |
| soundsc | Scale data and play as sound |
| wavplay | Play recorded sound on PC-based audio output device |
| wavrecord | Record sound using PC-based audio input device |
| beep | Produce beep sound |
| lin2mu | Convert linear audio signal to mu-law |
| mu2lin | Convert mu-law audio signal to linear |
| xmlread | Read XML document and return Document Object Model node |
| xmlwrite | Write XML Document Object Model node |
| xslt | Transform XML document using XSLT engine |
| disp (memmapfile) | Information about memmapfile object |
| get (memmapfile) | Memmapfile object properties |
| memmapfile | Construct memmapfile object |
| filemarker | Character to separate file name and internal function name |
| fileparts | Parts of file name and path |
| filesep | File separator for current platform |
| fullfile | Build full file name from parts |
| tempdir | Name of system's temporary folder |
| tempname | Unique name for temporary file |
| gunzip | Uncompress GNU zip files |
| gzip | Compress files into GNU zip files |
| tar | Compress files into tar file |
| untar | Extract contents of tar file |
| unzip | Extract contents of zip file |
| zip | Compress files into zip file |
| FTP | Connect to FTP server |
| sendmail | Send email message to address list |
| urlread | Download URL content to MATLAB string |
| urlwrite | Download URL content and save to file |
![]() | Desktop Tools and Development Environment | Mathematics | ![]() |

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |