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 个评论

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.

请先登录,再进行评论。

 采纳的回答

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

5 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by