Matlab closes in the middle of a loop
2 views (last 30 days)
Show older comments
I have a for loop. Sometime it executes normally. And from time to time, matlab closes in the middle of the loop without any errors. This is driving me crazy. What could be the issue here?
2 Comments
Geoff Hayes
on 25 Aug 2020
berk - what is the body of your loop doing? How many iterations in the loop? Is it always the same loop that causes MATLAB to crash?
Answers (1)
Sudhakar Shinde
on 29 Sep 2020
I am not sure you will get exact answer but this may help:
- Increase java heap memory from preferences.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!