diff --git a/matlab/check.m b/matlab/check.m
index cc66dadd40cb35fe8621ae42a8c5987503b96f05..48c1ec4a087a93fca0205af6793d7657b1ef83cf 100644
--- a/matlab/check.m
+++ b/matlab/check.m
@@ -1,4 +1,4 @@
-function result = check
+function [result,info] = check
 % function result = check
 % checks determinacy conditions by computing the eigenvalues
 %