diff --git a/matlab/osr1.m b/matlab/osr1.m
index 6574a67e2f732a97c1054d858d92c7167e548031..884f0d4e214f0a0d0197be7493184895172ec258 100644
--- a/matlab/osr1.m
+++ b/matlab/osr1.m
@@ -51,7 +51,7 @@ if exist([M_.fname '_steadystate'])
             ys = add_auxiliary_variables_to_steadystate(ys,M_.aux_vars,...
                                                         M_.fname,...
                                                         oo_.exo_steady_state,...
-                                                        oo_.exo_det_steady_state);
+                                                        oo_.exo_det_steady_state,M_.params);
         else
             error([M_.fname '_steadystate.m doesn''t match the model']);
         end