Why do I receive a Microsoft Visual C++ runtime library error when I create a large matrix in MATLAB 6.5 (R13)?

4 次查看(过去 30 天)
Why do I receive a Microsoft Visual C++ runtime library error when I create a large matrix in MATLAB 6.5 (R13)?
When I use the following code to create a large matrix of zeros on my computer:
h = zeros(311,476800);
I receive the following Microsoft Visual C++ runtime library dialog box error:
Abnormal program termination
When I run this same code on another computer I got the following error in MATLAB 6.5 (R13):
??? Error using ==> zeros
Out of memory. Type HELP MEMORY for your options.

采纳的回答

MathWorks Support Team
This error appears when MATLAB is running out of memory. For general information regarding memory management in MATLAB, see our Technical Note 1106: Memory Management Guide.
There are currently no known workarounds.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by