MATLAB code has not completed execution within the allocated time. Consider optimizing your MATLAB code to execute within the available time limit.
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
naveen s
il 2 Mag 2024
Commentato: Christopher Stapels
il 7 Mag 2024
MATLAB code has not completed execution within the allocated time.
Consider optimizing your MATLAB code to execute within the available time limit.
4 Commenti
Risposta accettata
Christopher Stapels
il 7 Mag 2024
I suggest using thingSpeakRead and the Alerts service. Your code will preform much faster and you wont have these errors.
3 Commenti
Christopher Stapels
il 7 Mag 2024
ThingSpeak wont allow you to send emails to anyone but yourself. The SMTP code wont work in ThingSpeak code.
What you can do is to use the alerts service to forward it to yourself and then set a rule in your inbox to forward to additional emails. You can use a trigger code in the email body or subject so that your email client can detect the emails you want to forward.
Also you can use a thrd party service like Twillio. They take care of making sure the users you wnat to send emails to have opted in. ThingSpeak and Mathworks dont have a process for that agreement for emails from MATLAB. You can use MATLAB analysis code to trigger the Twillio API. There are many posts in this forum that show the method.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Write Data to Channel in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!