diff --git a/matlab/print_info.m b/matlab/print_info.m
index 40c1d7ee9731d92ad6e802eab73bbb447e6cecda..0ee6aeb3a2e65351c152f94878a64117d7100420 100644
--- a/matlab/print_info.m
+++ b/matlab/print_info.m
@@ -33,8 +33,9 @@ if ~noprint
         error(['The model doesn''t determine the current variables' ...
                ' uniquely'])
       case 2
-        error(['MJDGGES returns the following error code: ' ...
-               int2str(info(2))])
+        error(['The generalized Schur (QZ) decomposition failed. ' ...
+               'For more information, see the documentation for Lapack function dgges: info=' ...
+               int2str(info(2)) ', n=' int2str(info(3))])
       case 3
         error(['Blanchard Kahn conditions are not satisfied: no stable' ...
                ' equilibrium'])