"Matlab has encountered an internal problem and needs to close error" in matlab 2009b
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello All,
Im running a batch of testcases.
In the script I'm using if loop and for loop.
I tried to evaluate each line using breakpoint to see where the error is occuring
Seeing this error "Matlab has encountered an internal problem and needs to close error" at the if and for loop.
Suspecting it is because of the memory issue.
In the command window, I typed memory. I saw the below
Maximum possible array: 18594 MB (1.950e+010 bytes) *
Memory available for all arrays: 18594 MB (1.950e+010 bytes) *
Memory used by MATLAB: 1260 MB (1.321e+009 bytes)
Physical Memory (RAM): 32457 MB (3.403e+010 bytes)
Looks like Matlab memory usage is OK but not sure whats causing the issue
Can someone suggest ideas on how to remove the above error?
And also how to increase the Java heap memory in matlb 2009b?
Thank you
1 commentaire
dpb
le 10 Août 2023
For such an old release of MATLAB, there's not going to be a lot of recourse, methinks. I don't know, I presume maybe you could still check for any previously uninstalled service packs to see if that might fix a problem.
Can you run anything or is it just this particular script that causes the problem? If the latter, it would probably be possible to rewrite the code to get around the issue; would perhaps help to know what, specifically, the code is -- attach the m-file here; unless it's quite large, just pasting the text and using the code button to format it is simplest.
Réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!