Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
907544bc
Commit
907544bc
authored
Jun 07, 2012
by
Marco Ratto
Browse files
big fix with strcmp
parent
edca7465
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dyn_saveas.m
View file @
907544bc
...
...
@@ -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 <http://www.gnu.org/licenses/>.
if
find
(
strcmp
(
'eps'
,
DynareOptions
.
graph_format
))
if
(
strcmp
(
'eps'
,
DynareOptions
.
graph_format
))
eval
([
'print -depsc2 '
fname
'.eps'
]);
end
if
find
(
strcmp
(
'pdf'
,
DynareOptions
.
graph_format
))
if
(
strcmp
(
'pdf'
,
DynareOptions
.
graph_format
))
eval
([
'print -dpdf '
fname
]);
end
if
~
exist
(
'OCTAVE_VERSION'
)
...
&&
find
(
strcmp
(
'fig'
,
DynareOptions
.
graph_format
))
&&
(
strcmp
(
'fig'
,
DynareOptions
.
graph_format
))
if
DynareOptions
.
nodisplay
set
(
h
,
'Visible'
,
'on'
);
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment