From 5059f614e5e5c1aa8e7dc4703a84a98ae1d39b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?William=20L=C3=B6vfors?= <x_willo@sigma.nsc.liu.se>
Date: Mon, 3 Feb 2020 11:52:25 +0100
Subject: [PATCH] Fixed an issue where the wrong / was used

---
 FindBestParametersFile.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/FindBestParametersFile.m b/FindBestParametersFile.m
index 8d10986..6be5e8a 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
-- 
GitLab