diff --git a/FindBestParametersFile.m b/FindBestParametersFile.m index 8d1098620062b8c3accdb8e48c65c193886ab856..6be5e8a74282a8594e95aed5ee70688edddaa373 100644 --- a/FindBestParametersFile.m +++ b/FindBestParametersFile.m @@ -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