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
1a6f8753
Commit
1a6f8753
authored
Jun 11, 2013
by
Houtan Bastani
Browse files
reporting: in windows, replace native filesep with forward slash for inclusion in tex file
parent
dec9c3a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@graph/createGraph.m
100644 → 100755
View file @
1a6f8753
...
@@ -127,7 +127,11 @@ end
...
@@ -127,7 +127,11 @@ end
drawnow
;
drawnow
;
if
isempty
(
o
.
figname
)
if
isempty
(
o
.
figname
)
o
.
figname
=
[
tempname
'.tex'
];
tn
=
tempname
;
if
strcmp
(
computer
,
'PCWIN'
)
||
strcmp
(
computer
,
'PCWIN64'
)
tn
=
strrep
(
tn
,
'\'
,
'/'
);
end
o
.
figname
=
[
tn
'.tex'
];
end
end
disp
(
' converting to tex....'
);
disp
(
' converting to tex....'
);
if
exist
(
'OCTAVE_VERSION'
)
&&
isempty
(
regexpi
(
computer
,
'.*apple.*'
,
'once'
))
if
exist
(
'OCTAVE_VERSION'
)
&&
isempty
(
regexpi
(
computer
,
'.*apple.*'
,
'once'
))
...
...
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