MatLab crashing while saving variable

12 views (last 30 days)
Marc Laub
Marc Laub on 3 Jul 2020
Commented: Marc Laub on 8 Jul 2020
Hello,
I am facing issues saving variables from my workspace. MatLab always crashes when I try to save handle objects.
When I test it with less objects it works all fine, but when I try it with my desired number it just crashes.
I dont expect the size of the reuslting mat file to exceed 2GB, however i set -v7.3 as default in my preferences for saving manualy by right clicking "save as", but I also tried it within the code as
save('test','grains','-v7.3')
Both didnt help and it just crashed.
I uploaded a file where u can see the structure if my objects, in this case there are 2000 objects, filesize is 246KB, I also can save 40k objects, filesize is now 150MB, but my desired value of 160k objects cant be done...
I use Win 10 64bit as OS and MatLab 2019b
Does anybody has an idea how i can save these many objects so i can use same as input and dont have to recalculate them everytime?
Many thanks in advance
Best regards

Answers (1)

Image Analyst
Image Analyst on 3 Jul 2020
When it crashed, did it offer to send in the crash log, either when it crashed or when you started MATLAB the next time? If so, do that and someone will contact you. Otherwise if it's repeatable, you can call tech support and they will help you. See the FAQ entry: FAQ After installation MATLAB crashes or gives an error message when I try to run MATLAB
  5 Comments
Marc Laub
Marc Laub on 8 Jul 2020
First case. MatLab closed itself without any message or report at all.
I guess they now know about that error because the tech support told me what causes the crashing.

Sign in to comment.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!