Matlab closes in the middle of a loop

2 views (last 30 days)
berk can acikgoz
berk can acikgoz on 25 Aug 2020
Answered: Sudhakar Shinde on 29 Sep 2020
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
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?
Duijnhouwer
Duijnhouwer on 25 Aug 2020
yes, some code would be helpful

Sign in to comment.

Answers (1)

Sudhakar Shinde
Sudhakar Shinde on 29 Sep 2020
I am not sure you will get exact answer but this may help:
  1. Increase java heap memory from preferences.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!