Maximizing the memory available to MATLAB for windows 7

Hi
I am using Neural Network Toolbox™ Software Version 6.0.1 (R2008b) to train a data sets. I have a memory error when I train a data with high number of inputs. The error is shown like this:
??? Insufficient number of outputs from right hand side of equal sign to satisfy assignment.
Error in ==> nntool at 681
[errmsg,errid] = me.message;
My laptop has 4GB RAM, 32-bit operating system, windows 7.
Can any body help me in finding a way to Maximizing the memory available to MATLAB ?
Thanks in advance for your help.
Bashar

 Accepted Answer

You can follow the link to "Avoiding 'Out of Memory' Errors" in Tech Solution# 1-BBJCDC.
Specific instructions for Windows 7 are in Tech Solution #1-4M4ZNT.

More Answers (1)

The error message is clear: "??? Insufficient number of outputs from right hand side of equal sign to satisfy assignment."
This does not concern the memory! The line "[errmsg,errid] = me.message;" fails, because the number of variables on the right and the left differ. Use the debugger to find out the source of this problem:
dbstop if all error
Now Matlab stops when an error occurs and you can inspect the variables in the command window or workspace browser.

2 Comments

Thanks for ur reply. Actually, it is a memory problem but the ability to show the standard out of memory error message is not available in NNTOOL in Neural Network Toolbox 6.0.3 (R2009b and earlier versions.
Then this is one of the rare examples of misleading error messages from Matlab.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!