Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PlotID
plotID_matlab
Commits
45efd8fd
Commit
45efd8fd
authored
Mar 22, 2022
by
Lemmer, Jan
Browse files
Merge branch 'fix/nodashinexportname' into 'master'
Replaced dash with underscore for script name Closes
#118
See merge request
!74
parents
7014232f
645d0d70
Pipeline
#671878
passed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
+PlotID/createFileCopy.m
View file @
45efd8fd
...
...
@@ -29,6 +29,8 @@ end
case
'script'
sufix
=
'_script'
;
newfile
=
sprintf
([
ID
,
sufix
,
ext
]);
%script filename in matlab cannot include '-'
newfile
=
regexprep
(
newfile
,
'-'
,
'_'
);
case
'userFcn'
%keep original name
newfile
=
sprintf
([
name
,
ext
]);
...
...
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