From 1548410458064ace4b9ecf77813f3dbee75e1f2e Mon Sep 17 00:00:00 2001 From: Fitz Sturgill Date: Thu, 13 Oct 2016 14:05:44 -0400 Subject: [PATCH 1/2] Ignore customUserPath text file --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 94f72a9..41d8c63 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ Calibration Files/** Data/** Protocols/** -.gitmodules \ No newline at end of file +.gitmodules +*BpodUserPath.txt \ No newline at end of file From e78f165f030dba73410f0c3bb17f7ed26c969c73 Mon Sep 17 00:00:00 2001 From: Fitz Sturgill Date: Thu, 13 Oct 2016 14:30:19 -0400 Subject: [PATCH 2/2] Made SaveBpodProtocolSettings compatible with more recent versions of matlab (in which you can't save a structure field directly using "save") --- Functions/Launch manager/SaveBpodProtocolSettings.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Functions/Launch manager/SaveBpodProtocolSettings.m b/Functions/Launch manager/SaveBpodProtocolSettings.m index 33a477d..19dbf06 100644 --- a/Functions/Launch manager/SaveBpodProtocolSettings.m +++ b/Functions/Launch manager/SaveBpodProtocolSettings.m @@ -19,4 +19,5 @@ %} function SaveBpodProtocolSettings global BpodSystem -save(BpodSystem.SettingsPath, 'BpodSystem.ProtocolSettings'); \ No newline at end of file +ProtocolSettings = BpodSystem.ProtocolSettings; +save(BpodSystem.SettingsPath, 'ProtocolSettings'); \ No newline at end of file