diff --git a/matlab/gsa/map_calibration.m b/matlab/gsa/map_calibration.m index 19052edb2..071ba7ca2 100644 --- a/matlab/gsa/map_calibration.m +++ b/matlab/gsa/map_calibration.m @@ -303,7 +303,7 @@ if ~isempty(indx_irf), end if ~DynareOptions.nograph, dyn_saveas(h1,[OutputDirectoryName,filesep,fname_,'_',type,'_irf_restrictions'],DynareOptions); - create_TeX_loader(options_,[OutputDirectoryName,filesep,fname_,'_',type,'_irf_restrictions'],[type ' evaluation of irf restrictions'],'irf_restrictions',type) + create_TeX_loader(DynareOptions,[OutputDirectoryName,filesep,fname_,'_',type,'_irf_restrictions'],[type ' evaluation of irf restrictions'],'irf_restrictions',type) end skipline() end @@ -495,15 +495,15 @@ if ~isempty(indx_moment) end if ~DynareOptions.nograph, dyn_saveas(h2,[OutputDirectoryName,filesep,fname_,'_',type,'_moment_restrictions'],DynareOptions); - create_TeX_loader(options_,[OutputDirectoryName,filesep,fname_,'_',type,'_moment_restrictions'],[type ' evaluation of moment restrictions'],'moment_restrictions',type) + create_TeX_loader(DynareOptions,[OutputDirectoryName,filesep,fname_,'_',type,'_moment_restrictions'],[type ' evaluation of moment restrictions'],'moment_restrictions',type) end skipline() end return -function []=create_TeX_loader(options_,figpath,caption,label_name,label_type) -if options_.TeX && any(strcmp('eps',cellstr(options_.graph_format))) +function []=create_TeX_loader(options,figpath,caption,label_name,label_type) +if options.TeX && any(strcmp('eps',cellstr(options.graph_format))) fidTeX = fopen([figpath '.TeX'],'w'); fprintf(fidTeX,'%% TeX eps-loader file generated by map_calibration.m (Dynare).\n'); fprintf(fidTeX,['%% ' datestr(now,0) '\n\n']);