Skip to content

Commit 9ee2eed

Browse files
committed
Update the OpenOverview to minimize code
1) Make sure OpenOverview calls either Overview.html or Navigation.mlx 2) Make sure OpenOverview doesn't open and fail to close 3) Put both Overview and Navigation in HelperFunctions
1 parent d98f69e commit 9ee2eed

File tree

4 files changed

+402
-4
lines changed

4 files changed

+402
-4
lines changed

HelperFunctions/OpenOverview.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
% Open the overview file
33
locDir = pwd;
44
if contains(locDir,filesep+"MATLAB Drive")
5-
open("NavigationOverview.mlx")
5+
open("Navigation.mlx")
66
else
77
open("Overview.html")
88
end
99

10-
% Close the current script
11-
open("OpenOverview.m")
12-
close(matlab.desktop.editor.getActive)
10+
% % Close the current script
11+
% open("OpenOverview.m")
12+
% close(matlab.desktop.editor.getActive)
1313
end

0 commit comments

Comments
 (0)