From c864d9facb5c6fbe3e4ab1d4150ee3b561b1a486 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Sun, 7 Jun 2015 17:28:16 +0200
Subject: [PATCH] Fix histvalf.m for steady state files

In this case, ex0_ is required, but it was not set global, leading to crashes
---
 matlab/histvalf.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/histvalf.m b/matlab/histvalf.m
index 576f5ff635..e2c1445546 100644
--- a/matlab/histvalf.m
+++ b/matlab/histvalf.m
@@ -17,7 +17,7 @@ function histvalf(fname)
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-global M_ oo_
+global M_ oo_ ex0_
 
 if ~exist(fname)
     error(['Can''t find datafile: ' fname ]);
-- 
GitLab