diff --git a/matlab/disp_th_moments.m b/matlab/disp_th_moments.m
index 14531c06f13890a87769784ebcc411ce58c761db..78864ec56c34b62e40fe82a07a837166ce10e64c 100644
--- a/matlab/disp_th_moments.m
+++ b/matlab/disp_th_moments.m
@@ -147,9 +147,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