isnetavl

版本 2.0.1 (14.0 KB) 作者: Rik
Check for an internet connection by pinging one of Google's DNSes
133.0 次下载
更新时间 2022/4/20

编者注: 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

引用格式

Rik (2024). isnetavl (https://github.com/thrynae/isnetavl/releases/tag/v2.0.1), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021a
与 R13SP1 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Google 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库