diff --git a/matlab/initial_estimation_checks.m b/matlab/initial_estimation_checks.m
index c4cbf5ab96966991f47adfb95b929fbdeb6762e0..ea8fd96eb1ed70d3f8575a984ca3b2266d9d1417 100644
--- a/matlab/initial_estimation_checks.m
+++ b/matlab/initial_estimation_checks.m
@@ -69,6 +69,8 @@ if any(BayesInfo.pshape) % if Bayesian estimation
     end
 end
 
+%% display warning if some parameters are still NaN
+test_for_deep_parameters_calibration(Model);
     
 % Evaluate the likelihood.
 ana_deriv = DynareOptions.analytic_derivation;