MATLAB stops the entire operating system

When I try to execute even some relatively simple operations, like finding the value of Legendre polynomials or solving ODEs (even the example ones from the documentation), MATLAB memory consumption grows indefinitely with every second, which eventually (after 1-2 munites) makes the whole operating system non-responding. The result is not calculated. I don't believe my PC can't withstand this load. Probably, there is something wrong going on. Could you help me with that issues, please? Why is it happening to MATLAB?

2 Comments

Please post some code which reproduces this behavior. Maybe there is a cute rand(1e6) hidden in the code, when rand(1, 1e6) is meant.
Even a single line
A = legendreP(2,4)
will cause that.

Sign in to comment.

 Accepted Answer

Are you using Windows 10 Spring 2018 update? If so see this Answer.

5 Comments

Yes, I use Windows 10 Spring 2018 Update + MATLAB R2018a. However, I have reinstalled MATLAB by downloading the latest version, but the problem still exists.
Check the output of ver. Does it indicate you're running Update 1 or Update 2, or does it indicate that you're running plain R2018a? If you're not running one of the Update versions, follow the instructions in that Answer to install the update.
It is: MATLAB Version: 9.4.0.813654 (R2018a) from 23 February 2018
I guess, it is without Update 1?
That is correct, you don't have the Update installed.
Okay! Thank you!

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2018a

Community Treasure Hunt

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

Start Hunting!