Error using...Plus....matrix dimensions must agree

I am running model based on IRF-MATCHING Approach. I am getting message as:

Error using +
Matrix dimensions must agree.
Error in csminit (line 125)
Error in csminwel (line 101)
[f1 x1 fc retcode1] = csminit(fcn,x,f,g,badg,H,varargin{:});
Error in IRFNEW (line 295)
Error in dynare (line 235)
evalin(‘base’,fname) ;

Without seeing the codes, it is impossible to tell.

here is codeIRFNEW.mod (5.0 KB) IRF_matching_objective.m (1.1 KB) get_empirical_IRFs.m (5.7 KB) build_companionform.m (608 Bytes)

sir plz suggest regarding these errors

Which Dynare version and which csminwel are you using?

that problem is solved as I have changed the upper and lower bounds.
now error is:
Output argument “IRF_model” (and maybe others) not assigned during call to “IRF_matching_objective”.
Error in IRFNEW (line 285)
Error in dynare (line 235)
evalin(‘base’,fname) ;