Skip to content

Commit

Permalink
Added warning for potentially conflicting paths with VisEd.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andesha committed Jul 9, 2019
1 parent 7ca581e commit a80917e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions eegplugin_vised_marks.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@

function version = eegplugin_vised_marks(fig, try_strings, catch_strings)

% Warn for pathing issues if need be...
folders = dir('./plugins/');
for i=1:length(folders)
if strcmp(folders(i).name,'VisEd1.05')
warning('Potential conflicts in function calls. Both VisEd and VisedMarks installed.');
end
end

version = get_version('vised_marks', 'vised_marks1.0.0');
%% start up
addpath(genpath(fileparts(which('eegplugin_vised_marks.m'))));
Expand Down

0 comments on commit a80917e

Please sign in to comment.