Maximium variable size


I have got the following error message:


??? Maximum variable size allowed by the program is exceeded.

Error in ==> sim1 at 65
c = zeros(ny*options_.periods,nrc) ;

Error in ==> simul at 82
sim1 ;

I wonder if it is possible to increase “the maximum variable size”?


Hi Engin, This is an error message from matlab (not dynare). What is the size of your problem ? What is the number of endogenous variables in your model ? What value of periods did you set as an option of the simul command?

This page documents memory issues in matlab.

Best, Stéphane