MATLAB Analysis Code window does not allow editing in Firefox 77.0.1
Show older comments
Firefox 77.0.1 does not allow editing in code window but Chrome Version 83.0.4103.116 works OK
Make a MATLAB Analysis to Send Email
- First get your ThingSpeak Alerts API key from the Account > My Profile The alerts API key will start with ‘TAK’.
- Create a new MATLAB analysis at Apps > MATLAB Analysis. Click the New button on the top. Choose the blank template and with this code. alert_body = 'This is the text that will be emailed';
alert_subject = 'This will be the subject of the email';
alert_api_key = 'YOUR_API_KEY_FROM_STEP_1';
alert_url= "https://api.thingspeak.com/alerts/send";
jsonmessage = sprintf(['{"subject": "%s", "body": "%s"}'], alert_subject,alert_body);
options = weboptions("HeaderFields", {'Thingspeak-Alerts-API-Key', alert_api_key; 'Content-Type','application/json'});
result = webwrite(alert_url, jsonmessage, options);
- Adjust the alert body, subject and API key.
Answers (1)
Vinod
on 26 Jun 2020
0 votes
I just tried Firefox 77.0.1 and I don't have this problem. I suspect it is one of your plugins/extensions that is interfering with MATLAB Code window.
If you disable all your Firefox plugins, or try this in a Firefox Private Window (where plugins are disabled), do you still see this behavior?
3 Comments
Barnard Richards
on 28 Jun 2020
Vinod
on 30 Jun 2020
We tried a bunch of things and cannot seem to reproduce this in Firefox on Windows or older versions of Firefox on the Mac. I think the problem is related to this specific version of Firefox (77.0.1) on the Mac.
Barnard Richards
on 1 Jul 2020
Communities
More Answers in the ThingSpeak Community
Categories
Find more on ThingSpeak in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!