Skip to content

Commit

Permalink
move close_InSI after addpath
Browse files Browse the repository at this point in the history
  • Loading branch information
DoHaiSon committed May 31, 2023
1 parent 9ed5384 commit 9d2abba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions InSI.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ function InSI()
% Author: Do Hai Son - AVITECH - VNU UET - VIETNAM
% Last Modified by Son 31-May-2023 17:52:13

%% Close all InSI windows
if ~close_InSI()
return
end

global main_path;
main_path = mfilename('fullpath'); % get path of active file
main_path = main_path(1:end-4);
addpath(fullfile(main_path, 'Shared', 'Utils'));
addpath(genpath_exclude(main_path, {'.git'}));

%% Close all InSI windows
if ~close_InSI()
return
end

% Clear auto save file of matlab
clear_asv_files(main_path);

Expand Down

0 comments on commit 9d2abba

Please sign in to comment.