Skip to content
Snippets Groups Projects
Commit 5059f614 authored by William Lövfors's avatar William Lövfors
Browse files

Fixed an issue where the wrong / was used

parent c902a288
Branches
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ values=double(regexprep(names,{'.*\(','\).*'},{'',''}));
assert(any(~isnan(values)),'No files contains valid names. Make sure the files has the cost in parenthesis, e.g opt(12.34)');
[~,bestInd]=min(values);
name=files(bestInd).name;
path=[files(bestInd).folder '\' name];
path=[files(bestInd).folder '/' name];
dirStruct=files(bestInd);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment