Page 1 of 1

Warning in running a linear model

PostPosted: Tue Feb 09, 2016 12:26 pm
by bled.hhhh109
Hi all,
I am trying to run a linear model in dynare.
the model ultimately runs but a get a warning several times saying it could not run it.
I am copying the warnings below. Any help how to fix it is welcome. Note that I am using an external steady state file to compute SS.


Warning: The file 'J:\Dynare\4.4.3\matlab\dynare.m' could not be cleared because it contains MATLAB
code that is currently executing.
> In MYMODELlinear (line 7)
In dynare (line 180)
Warning: The file 'E:\5 Follow up\Chapter 2\FF Codes\Code 4_2015_12_R0\Friction
LINEAR\BggGKlinear_71Bayes\BggGKlinear.m' could not be cleared because it contains MATLAB code that
is currently executing.
> In MYMODELlinear (line 7)
In dynare (line 180)
Warning: The file 'J:\Dynare\4.4.3\matlab\dynare.m' could not be cleared because it contains MATLAB
code that is currently executing.
> In MYMODELlinear (line 7)
In dynare (line 180)
Warning: The file 'E:\5 Follow up\Chapter 2\FF Codes\Code 4_2015_12_R0\Friction
LINEAR\BggGKlinear_71Bayes\BggGKlinear.m' could not be cleared because it contains MATLAB code that
is currently executing.
> In MYMODELlinear (line 7)
In dynare (line 180)
Warning: The file 'J:\Dynare\4.4.3\matlab\dynare.m' could not be cleared because it contains MATLAB
code that is currently executing.
> In MYMODELlinear (line 7)
In dynare (line 180)
Warning: The file 'E:\5 Follow up\Chapter 2\FF Codes\Code 4_2015_12_R0\Friction
LINEAR\BggGKlinear_71Bayes\MYMODELlinear .m' could not be cleared because it contains MATLAB code that
is currently executing.
> In MYMODELlinear (line 7)
In dynare (line 180)
Warning: Some of the parameters have no value (sigC, varrho, kappa, RK, W, IY, CY, YWss, Yss, Iss,
Kss, Gss, Css, PSTARss, MC, DELTA, NW, NWe, NWn, ZW, PHIE, AUX, RHO, RHORex, RB, RS, RL, AFI, L,
SASSET, ZL, RLstar, NB, NBe, NBn, Z, PHIB, OMEGA, NUB, MUL, MUS, DEP, SSPSI, ZPS, Fss, GF, GAM, DG,
DGAM, PSIB, APSB, SSPSIB, ZPSB, FBss, GFB, GAMB, DGB, DGAMB, KYW, PSI, xiE, muY, EFP, SPREADRB,
SPREADKB, SPREADRLR, mu_par) when using steady. If these parameters are not initialized in a
steadystate file, Dynare may not be able to solve the model...
> In test_for_deep_parameters_calibration (line 46)
In steady (line 33)
In MYMODELlinear (line 767)
In dynare (line 180)

Re: Warning in running a linear model

PostPosted: Sat Feb 20, 2016 8:22 am
by jpfeifer
You can ignore these warnings. The last one is harmless because you use a steady state file. The first ones result from Matlab's new JIT compiler. If you call your file with the
Code: Select all
noclearall

command line option the messages should go away.