Skip to content
Snippets Groups Projects
Commit 645d0d70 authored by M. Hock's avatar M. Hock
Browse files

Replaced dash with underscore for script name

closes #118
parent de0fe5c2
No related branches found
No related tags found
1 merge request!74Replaced dash with underscore for script name
Pipeline #669980 passed
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment