From c1ecfc9c19123886b8f40105f0515409dbe14fbc Mon Sep 17 00:00:00 2001 From: Muhammad Yasirroni <48709672+yasirroni@users.noreply.github.com> Date: Sun, 6 Oct 2024 13:18:11 +0700 Subject: [PATCH] exclude `.` from oldpaths --- install_matpower.m | 1 + 1 file changed, 1 insertion(+) diff --git a/install_matpower.m b/install_matpower.m index df352bb4..0a76f693 100644 --- a/install_matpower.m +++ b/install_matpower.m @@ -284,6 +284,7 @@ %% remove old paths if rm_oldpaths + oldpaths = oldpaths(~strcmp(oldpaths, '.')); rmpath(oldpaths{:}); if verbose fprintf(div_line);