Skip to content

Commit

Permalink
Add workaround for new mpm installed MATLAB
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Nov 18, 2024
1 parent a805713 commit 7323be2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/DemoTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -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,'/');
Expand Down

0 comments on commit 7323be2

Please sign in to comment.