Occbin

Hello,

I am a newer in using OCCBIN, when i run the program, i got wrong message as below. can anybody help me to fix this?

thanks!

Attempted to access scalefactormod(2); index out of bounds because numel(scalefactormod)=1.

Error in mkdatap_anticipated (line 101)
errvec(irfshockpos(i)) = scalefactormod(i);

Error in solve_one_constraint (line 148)
[zdatalinear_]=mkdatap_anticipated(nperiods_,decrulea_,decruleb_,…

Error in runsim_cgg (line 43)
[zdatalinear zdatapiecewise zdatass oobase_ Mbase_ ] = …

Unfortunately, still the same answer: [Using occbin to solve a model with one inequality constraint)