diff --git a/matlab/DsgeSmoother.m b/matlab/DsgeSmoother.m
index a692965f1b7edc62e3ce32bd871e9c02a68990ef..488cd743450c0b6adf10ede3829d4d9db9a0dd53 100644
--- a/matlab/DsgeSmoother.m
+++ b/matlab/DsgeSmoother.m
@@ -64,7 +64,9 @@ decomp        = [];
 vobs            = length(options_.varobs);
 smpl          = size(Y,2);
 
-M_ = set_all_parameters(xparam1,estim_params_,M_);
+if ~isempty(xparam1) %not calibrated model
+    M_ = set_all_parameters(xparam1,estim_params_,M_);
+end
 
 %------------------------------------------------------------------------------
 % 2. call model setup & reduction program