From 7323be27455f2b8460b0fad132c08793cefa42e7 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Mon, 18 Nov 2024 11:24:20 -0700 Subject: [PATCH] Add workaround for new mpm installed MATLAB Signed-off-by: Travis F. Collins --- test/DemoTests.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/DemoTests.m b/test/DemoTests.m index 31ce4a6b..b89ffa8a 100644 --- a/test/DemoTests.m +++ b/test/DemoTests.m @@ -5,6 +5,12 @@ end methods(TestClassSetup) + function refreshCache(~) + % Weird bug sometimes when MATLAB installed by mpm + Advisor.Manager.refresh_customizations; + rehash toolboxcache + + end function addpaths(testCase) here = mfilename('fullpath'); here = strsplit(here,'/');