MATLAB: Do I get an error in the GENFIS2 function when using a large set of training data in the Fuzzy Logic Toolbox 2.1.2 (R13)

Fuzzy Logic Toolbox

??? Error using ==> zeros
Out of memory. Type HELP MEMORY for your options.
Error in ==> L:\perfect\matlab\toolbox\fuzzy\fuzzy\genfis2.m
On line 101 ==> muMatrix = zeros(numData,numRule * (numInp + 1));

Best Answer

This error results because the manipulations of the data set require more memory than is available. You can try using a smaller data set, or try some of the memory management techniques in this tech note.