HTTPS commands with MATLAB
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Fuat Kaan Diriker
il 25 Gen 2022
Risposto: Kojiro Saito
il 25 Gen 2022
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!
0 Commenti
Risposta accettata
Kojiro Saito
il 25 Gen 2022
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su ThingSpeak in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!