# BEAR toolbox error

**URL:** <https://forum.dynare.org/t/bear-toolbox-error/18373>\
**Category:** Dynare contributions and examples\
**Created:** [22 June 2021 03:41 UTC](https://forum.dynare.org/t/bear-toolbox-error/18373 "2021-06-22T03:41:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anand](https://forum.dynare.org/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@Anand](https://forum.dynare.org/u/Anand)\
**Post date:** [22 June 2021 03:41 UTC](https://forum.dynare.org/t/bear-toolbox-error/18373/1 "2021-06-22T03:41:18Z")

</div>

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’));

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [22 June 2021 07:18 UTC](https://forum.dynare.org/t/bear-toolbox-error/18373/2 "2021-06-22T07:18:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Anand](https://forum.dynare.org/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@Anand](https://forum.dynare.org/u/Anand)\
**Post date:** [22 June 2021 07:36 UTC](https://forum.dynare.org/t/bear-toolbox-error/18373/3 "2021-06-22T07:36:32Z")

</div>

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