Matlab shuts down when I run program

Hey Guys,
Since yesterday I have been trying to run a code in MATLAB. However MATLAB shuts down by itself when I do so. I have been running this code since a long time and it has been running perfectly. I really dont know what went wrong suddenly.
It is the same code. I tried restarting the computer. However nothing is working. Can anyone please help me asap.
Thanks

3 Comments

does the code call any mex functions? Has anything in your system being changed? Like an update of java etc? What system are you on?
No mex functions. There were some security updates on my computer, thats it. I have MATLAB for Mac (2007 version). I dont know what is wrong suddenly.
No mex functions. There were some security updates on my computer, thats it. I have MATLAB for Mac (2007 version). I dont know what is wrong suddenly.

Sign in to comment.

 Accepted Answer

This might be due to a Java update. Please see this earlier report

5 Comments

Yea it was a java update. changed back to the old one and it worked. Thanks for the links.
Beneyaz Begum
Beneyaz Begum on 23 Feb 2022
Edited: Beneyaz Begum on 23 Feb 2022
My MATLAB shuts down by itself when I running the code, after few loops, it shuts down. My code was running perfect till yesterday, but suddenly since from evening I am facing problem.
I tried restarting the computer. However nothing is working.
I went through this post of yours. Please help me how to resolve the problem. I am working in Windows 10, with matlabR2015a.
Java version:
Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Please help me. I want to know the steps you followed to resolve the problem.
I can tell that you did not just have a Java update. Also the problem discussed here was specific to MacOS.
Possibly you have a problem with your system overheating, or a problem with your RAM.
Thanks. I will go for Tech Support Person to check the system and the RAM. Let you know soon.
There could be overheating problem, because I have been continuously running the simulations on workstation from past 3 weeks. I will get checked and come back to you.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!