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

5 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Sep 2018
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.

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!