From 1be9fe0da258168e2239a3bdddca7e4cf5afec00 Mon Sep 17 00:00:00 2001 From: Marco Ratto <marco.ratto@jrc.ec.europa.eu> Date: Tue, 2 Oct 2012 08:59:49 +0200 Subject: [PATCH] Bug fix: graphic options are not passed to global options_ (for the next release try to skip the use of the global here). (cherry picked from commit e835c7d94563fbf8851f52ddfcfc8d98f6bbee8f) --- matlab/dynare_identification.m | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/matlab/dynare_identification.m b/matlab/dynare_identification.m index 7be1af636..c83c7823f 100644 --- a/matlab/dynare_identification.m +++ b/matlab/dynare_identification.m @@ -61,6 +61,16 @@ options_ident = set_default_option(options_ident,'advanced',0); options_ident = set_default_option(options_ident,'normalize_jacobians',1); options_ident = set_default_option(options_ident,'lik_init',1); options_ident = set_default_option(options_ident,'analytic_derivation',1); +if isfield(options_ident,'nograph'), + options_.nograph=options_ident.nograph; +end +if isfield(options_ident,'nodisplay'), + options_.nodisplay=options_ident.nodisplay; +end +if isfield(options_ident,'graph_format'), + options_.graph_format=options_ident.graph_format; +end + if options_ident.gsa_sample_file, GSAFolder = checkpath('gsa',M_.dname); if options_ident.gsa_sample_file==1, -- GitLab