Skip to content
Snippets Groups Projects
Commit 45efd8fd authored by Lemmer, Jan's avatar 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
No related branches found
No related tags found
1 merge request!74Replaced dash with underscore for script name
Pipeline #671878 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