diff --git a/matlab/PosteriorIRF.m b/matlab/PosteriorIRF.m
index e74c19a49c2fb07c62d55a48e80b02571ce8e596..e06e173998ecd242131ce3c37bcf4f308c2509bf 100644
--- a/matlab/PosteriorIRF.m
+++ b/matlab/PosteriorIRF.m
@@ -457,6 +457,8 @@ if ~exist('OCTAVE_VERSION')
             [fout] = masterParallel(options_.parallel, 1, M_.exo_nbr,NamFileInput,'PosteriorIRF_core2', localVars, globalVars, options_.parallel_info);
         end
     end
+else
+    [fout] = PosteriorIRF_core2(localVars,1,M_.exo_nbr,0);
 end
 % END parallel code!