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
Marco Ratto
dynare
Commits
7a834901
Commit
7a834901
authored
Jan 25, 2022
by
Marco Ratto
Browse files
filter out other forbidden characters (parentheses and dot) for field name..
parent
a308a17d
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/expand_group.m
View file @
7a834901
...
...
@@ -46,6 +46,9 @@ options.nobs=mydata.nobs;
label
=
mydata
.
shock_group
.
label
;
label
=
strrep
(
label
,
' '
,
'_'
);
label
=
strrep
(
label
,
'-'
,
'_'
);
label
=
strrep
(
label
,
'('
,
''
);
label
=
strrep
(
label
,
')'
,
''
);
label
=
strrep
(
label
,
'.'
,
''
);
shocks
=
mydata
.
shock_group
.
shocks
;
options
.
plot_shock_decomp
.
fig_name
=
[
mydata
.
fig_name
'. Expand'
];
options
.
plot_shock_decomp
.
use_shock_groups
=
label
;
%[use_shock_groups_old int2str(ic)];
...
...
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