Commit 907544bc authored by Marco Ratto's avatar Marco Ratto
Browse files

big fix with strcmp

parent edca7465
......@@ -30,14 +30,14 @@ function dyn_saveas(h,fname,DynareOptions)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <>.
if find(strcmp('eps',DynareOptions.graph_format))
if (strcmp('eps',DynareOptions.graph_format))
eval(['print -depsc2 ' fname '.eps']);
if find(strcmp('pdf',DynareOptions.graph_format))
if (strcmp('pdf',DynareOptions.graph_format))
eval(['print -dpdf ' fname]);
if ~exist('OCTAVE_VERSION') ...
&& find(strcmp('fig',DynareOptions.graph_format))
&& (strcmp('fig',DynareOptions.graph_format))
if DynareOptions.nodisplay
set(h, 'Visible','on');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment