Re: How to import a Matlab mat-file
- To: mathgroup at smc.vnet.net
- Subject: [mg85889] Re: How to import a Matlab mat-file
- From: John Jowett <John.M.Jowett at gmail.com>
- Date: Tue, 26 Feb 2008 07:56:33 -0500 (EST)
- References: <fq0ucs$kbg$1@smc.vnet.net>
Kevin,
I had a similar problem with a simple MATLAB file in November
2007. I reported it to someone at Wolfram who confirmed that there's
a bug in MAT Import that should be fixed ...
John Jowett
On Feb 26, 12:49pm, "Kevin J. McCann" <Kevin.McC... at umbc.edu> wrote:
> [Normally, I do not permit this sort of post, but in this case,
> it is a valid Mathematica function question, so I am permitting
> it - moderator]
>
> Kevin J. McCann wrote:
> I have some data that I received from a colleague that is a rather
> large mat file. "Data.mat". The file was generated with Matlab
> 2007b. I tried the following:
>
> Import["Data.mat"]
>
> Import["Data.mat","MAT"]
>
> Import["Data.mat","mat"]
>
> and they all give me an error:
>
> Import::fmterr: "Cannot import data as MAT format."
>
> Thanks,
>
> Kevin
>
> --
>
> Kevin J. McCann
> Research Associate Professor
> JCET/Physics
> Physics Building
> University of Maryland, Baltimore County
> 1000 Hilltop Circle
> Baltimore, MD 21250