Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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)

Star Strider
Star Strider on 26 Aug 2014
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
dila
dila on 26 Aug 2014
Instead I used "whos -file filename" , and it gave the exact same reaction. Matlab stopped working.

Community Treasure Hunt

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

Start Hunting!