MATLAB Analysis Code window does not allow editing in Firefox 77.0.1

3 次查看(过去 30 天)
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
  1. First get your ThingSpeak Alerts API key from the Account > My Profile The alerts API key will start with ‘TAK’.
  2. 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);
  1. Adjust the alert body, subject and API key.

回答(1 个)

Vinod
Vinod 2020-6-26
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 个评论
Vinod
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.

请先登录,再进行评论。

社区

更多回答在  ThingSpeak Community

类别

Help CenterFile Exchange 中查找有关 ThingSpeak 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by