Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
open a huge mat file

Subject: open a huge mat file

From: Wenxu Li

Date: 4 Dec, 2012 10:52:07

Message: 1 of 4

Hi guys

I have a huge mat file from a device which is over 10 GB. I want to know is there any easy way to open it in Matlab part by part instead of going deep into the mat file structure and make c program?
Thanks...


Regards
Wenxu

Subject: open a huge mat file

From: Bruno Luong

Date: 4 Dec, 2012 11:10:08

Message: 2 of 4

"Wenxu Li" wrote in message <k9kkkn$jbf$1@newscl01ah.mathworks.com>...
> Hi guys
>
> I have a huge mat file from a device which is over 10 GB. I want to know is there any easy way to open it in Matlab part by part instead of going deep into the mat file structure and make c program?

help matfile (if you have not-too-old matlab release).

Bruno

Subject: open a huge mat file

From: Wenxu Li

Date: 4 Dec, 2012 11:23:08

Message: 3 of 4

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <k9klmg$md2$1@newscl01ah.mathworks.com>...
> "Wenxu Li" wrote in message <k9kkkn$jbf$1@newscl01ah.mathworks.com>...
> > Hi guys
> >
> > I have a huge mat file from a device which is over 10 GB. I want to know is there any easy way to open it in Matlab part by part instead of going deep into the mat file structure and make c program?
>
> help matfile (if you have not-too-old matlab release).
>
> Bruno

Thanks for your quick reply, Bruno,
I have tried this method before. Here is what I got:
'Matrix API is called with negative size or index'.
Do you have some other idea?

Regards
Wenxu

Subject: open a huge mat file

From: Bruno Luong

Date: 4 Dec, 2012 12:00:08

Message: 4 of 4

"Wenxu Li" wrote in message <k9kmes$omn$1@newscl01ah.mathworks.com>...

> Thanks for your quick reply, Bruno,
> I have tried this method before. Here is what I got:
> 'Matrix API is called with negative size or index'.
> Do you have some other idea?

I suspect
1) it's TMW bug or
2) the file is generated by 64-bit Matlab and you try to open with 32-bit MATLAB which can never address that big file due to OS limitation.

Bruno

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us