BEAR toolbox error

Hello everyone, My name is Anand
I am first time using BEAR Toolbox on Matlab and I have recieved following errors. Can you please give your precious advice on how to solve these problems. Thank you in advance.

%%%Error%%%
Output argument “beta_gibbs” (and maybe others) not
assigned during call to “inwgibbs”.

Error in bear_toolbox_main_code (line 494)
[beta_gibbs,sigma_gibbs]=inwgibbs(It,Bu,beta0,omega0,S0,alpha0,Xstar,Ystar,ystar,Bhat,n,Tstar,q);

Error in run (line 91)
evalin(‘caller’, strcat(script, ‘;’));

Error in bear5 (line 53)
run(fullfile(‘files’,‘bear_toolbox_main_code.m’));

Sorry, but this forum is for Dynare, not BEAR. I doubt people will be able to help you.

Thank you. BTW I found the solution. It was related to the total number of iteration and burn-in iteration number.