diff --git a/matlab/disp_th_moments.m b/matlab/disp_th_moments.m
index 212c4b58947e928b178c112c2b7edacb09e32467..1b10b06b17a667fda9b2e42431ee63df032ea6fa 100644
--- a/matlab/disp_th_moments.m
+++ b/matlab/disp_th_moments.m
@@ -155,9 +155,11 @@ if size(stationary_vars, 1) > 0
 end
 
 if isempty(i1)
-    skipline()
-    disp('All endogenous are constant or non stationary, not displaying correlations and auto-correlations')
-    skipline()
+    if ~options_.noprint
+        skipline()
+        disp('All endogenous are constant or non stationary, not displaying correlations and auto-correlations')
+        skipline()
+    end
     return
 end