HTTPS commands with MATLAB

5 ビュー (過去 30 日間)
Fuat Kaan Diriker
Fuat Kaan Diriker 2022 年 1 月 25 日
回答済み: Kojiro Saito 2022 年 1 月 25 日
Hi all,
I am a complete WiFi noob. I have an Arduino Nano IoT with an example sketch. Using a browser, when I access to https://myIPaddress/H the LED turns on and https://myIPaddress/L turns it off. I was wondering if this command can be sent through MATLAB? Thank you!

採用された回答

Kojiro Saito
Kojiro Saito 2022 年 1 月 25 日
webread would be the solution.
%% For turning on
onUrl = 'https://myIPaddress/H';
data = webread(onUrl);
%% For turning off
offUrl = 'https://myIPaddress/L';
data = webread(offUrl);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by