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

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.

 채택된 답변

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개)

카테고리

도움말 센터File Exchange에서 Call C from MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by