Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating dataset #154

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 25 additions & 21 deletions app/functions/isnetav.m
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
function x=isnetav
disp('-->> Checking internet status');
[~,b]=system('ping -c 5 -W 15 www.github.com');
n=strfind(b,'received');
if ismac
% Code to run on Mac platform
elseif isunix
n1=b(n-2);
elseif ispc
n1=b(n+7);
else
disp('Platform not supported');
end
if(n1=='5')
x=1;
disp('-->> Internet connection Ok');
else
try
disp('-->> Checking internet status');
[~,b]=system('ping -c 5 -W 15 www.github.com');
n=strfind(b,'received');
if ismac
% Code to run on Mac platform
elseif isunix
n1=b(n-2);
elseif ispc
n1=b(n+7);
else
disp('Platform not supported');
end
if(n1=='5')
x=1;
disp('-->> Internet connection Ok');
else
x=0;
cprintf('red','-->> We could not get you online'); fprintf('\n');
cprintf('red','-->> There migth be either a problem with the internet connection or matlab proxy configuration'); fprintf('\n');
cprintf('red','-->> We could not get the BC-VARETA latest version right now.');fprintf('\n');
cprintf('red','-->> Please check your internet configuration and try to update again.');fprintf('\n');
disp('=================================================================');
end
catch
x=0;
cprintf('red','-->> We could not get you online'); fprintf('\n');
cprintf('red','-->> There migth be either a problem with the internet connection or matlab proxy configuration'); fprintf('\n');
cprintf('red','-->> We could not get the BC-VARETA latest version right now.');fprintf('\n');
cprintf('red','-->> Please check your internet configuration and try to update again.');fprintf('\n');
disp('=================================================================');
end
end
Binary file modified guide/CiftiStorm.mlapp
Binary file not shown.
Binary file modified guide/DatasetUI.mlapp
Binary file not shown.
Loading