Skip to content

Commit

Permalink
fix(matlab) Replace by literal to restore <R2016b compatibility (Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 14, 2018
1 parent ff69c9c commit 59ca8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matlab/@amimodel/compileAndLinkModel.m
Expand Up @@ -331,7 +331,7 @@ function updateFileHash(fileFolder,hashFolder,filename)

function versionstring = getCompilerVersionString()
[~,systemreturn] = system([mex.getCompilerConfigurations('c++').Details.CompilerExecutable ' --version']);
newlinePos = strfind(systemreturn,newline);
newlinePos = strfind(systemreturn, '\n');
str = systemreturn(1:(newlinePos(1)-1));
str = regexprep(str,'[\(\)]','');
str = regexprep(str,'[\s\.\-]','_');
Expand Down

0 comments on commit 59ca8c4

Please sign in to comment.