Matlab stops working when i try to import one spesific .MAT file.

Hi,
I have a .mat file, which was generated by another Matlab release. It was send me by mail and I could open it in my own Matlab without any problem.
But now when I try to import the folder, it waits, then gives the executed sound and then a window comes saying " Matlab stopped working " . Then Matlab shuts down itself.
In the log it says " Segmentation violation detected ". This problem doesn't occur in any other .mat file or in any other .m file which I recieved with the same mail.
I have deleted and downloaded the .mat file again but my Matlab still can't open it.
How can I access that mat. file ?
Thanks in advance, Dila.

Answers (1)

There may be something wrong with the mat-file. Use the matfile function to look at its contents without loading them into memory.

3 Comments

hi thank you,
I've tried but matfile function doesn't exist. It is probably because this matlab is R2009a version.
Instead I used "whos -file filename" , and it gave the exact same reaction. Matlab stopped working.
It’s time for you to contact MathWorks Support.

This question is closed.

Asked:

on 26 Aug 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!