Read Matlab Files In Idleness

Read Matlab Files In Idleness 3,8/5 9533 votes

I want to open all the files with a certain attribute (e.g. They all have 'History' in their name) and open them, one by one, in MATLAB. I know of the command dir myname.txt which will list it like I want, but how do I now open the files that it listed?

Supported File Formats for Import and Export

The following table shows the file formats that you can importand export from the MATLAB® application.

In addition to the functions in the table, you also can use the Import Tool to import text or spreadsheet file formats interactively.

File Content

Extension

Description

Import Function

Export Function

MATLAB formatted data

MAT

Saved MATLAB workspace

Partial access of variables in MATLAB workspace

matfilematfile

Text

any, including:
CSV
TXT

Comma delimited numbers

readmatrix

Delimited numbers

Delimited numbers, or a mix of text and numbers

none

Column-oriented delimited numbers or a mix of text andnumbers

Spreadsheet

XLS
XLSX
XLSM

XLSB (Systems with Microsoft® Excel® for Windows® only)

XLTM (import only)
XLTX (import only)

ODS (Systems with Microsoft Excel for Windows only)

Column-oriented data in worksheet or range of spreadsheet

Extensible Markup Language

XML

XML-formatted text

Data Acquisition Toolbox™ file

DAQ

Data Acquisition Toolbox

none

Scientific data

CDF

Common Data Format

See Common Data Format

See cdflib

FITS

Flexible Image Transport System

See FITS Files

See FITS Files

HDF

Hierarchical Data Format, version 4, or HDF-EOS v. 2

See HDF4 Files

The Episode app is a mobile storytelling network and platform. Episode features interactive Hollywood-caliber stories built from the ground up for mobile, not the passive entertainment of TV and movies. In Episode, your choices decide the path of your story. Episode app hack.

See HDF4 Files

H5

HDF or HDF-EOS, version 5

See HDF5 Files

See HDF5 Files

NC

Network Common Data Form (netCDF)

See NetCDF Files

See NetCDF Files

Image

BMP

Windows Bitmap

GIF

Graphics Interchange Format

HDF

Hierarchical Data Format

JPEG
JPG

Joint Photographic Experts Group

JP2
JPF
JPX
J2C
J2K

JPEG 2000

PBM

Portable Bitmap

PCX

Paintbrush

PGM

Portable Graymap

PNG

Portable Network Graphics

PNM

Portable Any Map

PPM

Portable Pixmap

RAS

Sun™ Raster

TIFF
TIF

Tagged Image File Format

XWD

X Window Dump

CUR

Windows Cursor resources

none

ICO

Windows Icon resources

Audio (all platforms)

AU
SND

NeXT/Sun sound

AIFF

Audio Interchange File Format

AIFC

Audio Interchange File Format, with compression codecs

FLAC

Free Lossless Audio Codec

OGG

Ogg Vorbis

WAV

Microsoft WAVE sound

Audio (Windows)

M4A
MP4

MPEG-4

audioreadaudiowrite

any

Formats supported by Microsoft Media Foundation

audioreadnone

Audio (Mac)

M4A
MP4

MPEG-4

audioreadaudiowrite

Audio (Linux®)

any

Formats supported by GStreamer

audioreadnone

Video (all platforms)

AVI

Audio Video Interleave

MJ2

Motion JPEG 2000

Video (Windows)

MPG

MPEG-1

VideoReadernone

ASF
ASX
WMV

Windows Media®

any

Formats supported by Microsoft DirectShow®

Video (Windows 7 or later)

MP4
M4V

MPEG-4

VideoReaderVideoWriter

MOV

QuickTime

VideoReadernone

any

Formats supported by Microsoft Media Foundation

Video (Mac)

MP4
M4V

MPEG-4

VideoReaderVideoWriter

MPG

MPEG-1

VideoReadernone

MOV

QuickTime

any

Formats supported by QuickTime, including .3gp, .3g2,and .dv

Video (Linux)

any

Formats supported by your installed GStreamer plug-ins,including .ogg

VideoReadernone

Triangulation

STL

Stereolithographystlreadstlwrite

You can use web services such as a RESTful or WSDL to read and write data in an internet media type format such as JSON, XML, image, or text. For more information, see: