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
Logo adapted from: https://commons.wikimedia.org/wiki/File:Blank_globe.svg
Rik (2022). 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 CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!