MATLAB Analysis Code window does not allow editing in Firefox 77.0.1
显示 更早的评论
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.
回答(1 个)
Vinod
2020-6-26
0 个投票
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 个评论
Barnard Richards
2020-6-28
Vinod
2020-6-30
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
2020-7-1
社区
更多回答在 ThingSpeak Community
类别
在 帮助中心 和 File Exchange 中查找有关 ThingSpeak 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!