isnetavl

Version 2.0.1 (14 KB) by Rik
Check for an internet connection by pinging one of Google's DNSes
133 Downloads
Updated 20 Apr 2022

Editor's Note: This file was selected as MATLAB Central Pick of the Week

The Windows code for the ping call is based on isnetavl by Nishant Kumar. To allow drop-in compatibility the name was kept the same.
Because this calls the system command line, the syntax is slightly different between Unix and Windows, as is the response. This function is tested on Windows XP/7/10, Ubuntu 20.04 and MacOS 10.15.
Some organizations block ping from working, in which case an HTML fallback is used (by attempting to load the google.com homepage).
Licence: CC by-nc-sa 4.0

Cite As

Rik (2024). isnetavl (https://github.com/thrynae/isnetavl/releases/tag/v2.0.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with R13SP1 and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.0.1

See release notes for this release on GitHub: https://github.com/thrynae/isnetavl/releases/tag/v2.0.1

2.0.0

See release notes for this release on GitHub: https://github.com/thrynae/isnetavl/releases/tag/v2.0.0

1.2.2

See release notes for this release on GitHub: https://github.com/thrynae/isnetavl/releases/tag/1.2.2

1.2.1.1

cosmetics and expanded test

1.2.1

fixed bug where "Destination host unreachable" would result in an error, instead of connected=0 (thanks Louis Vallance for finding the bug)

1.2.0.2

Updated Icon

1.2.0.1

retry of logo update

1.2.0.0

added HTML fallback and support for non-English OSes

1.1.0.0

added compatibility for R13 (MATLAB 6.5)

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.