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
Dynare
dynare
Commits
dd1a9aae
Commit
dd1a9aae
authored
Nov 25, 2013
by
Houtan Bastani
Browse files
utilities: fixed name2tex regexprep for octave
parent
27181a26
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/utilities/general/name2tex.m
View file @
dd1a9aae
...
...
@@ -31,7 +31,11 @@ if info
end
end
tex
=
regexprep
(
name
,
'_'
,
'\\_'
);
if
isoctave
tex
=
regexprep
(
name
,
'_'
,
'\_'
);
else
tex
=
regexprep
(
name
,
'_'
,
'\\_'
);
end
if
info
for
i
=
1
:
nn
...
...
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