MATLAB Visualizations broken?

Hello,
can anyone please check, if the MATLAB Visualizations are right now offline for everyone or just for me? I've made 2 visualizations and both show the "broken image" icon instead of the graph.
The problem occurred half an hour ago or so - I do not know exactly. As you can see, widgets are not affected. Both visualizations are public and can be "Save an Run" with "MATLAB code ran successfully." as status.
Here is one of the MATLAB codes that has worked flawless till it stopped:
% Template MATLAB code for visualizing data using the YYAXIS and PLOT functions.
% Prior to running this MATLAB code template, assign the channel variables.
% Set 'readChannelID' to the channel ID of the channel to read from.
% Also, assign the read field IDs to the variables 'fieldID1', and 'fieldID2'.
% TODO - Replace the [] with channel ID to read data from:
readChannelID = [********];
% TODO - Replace the [] with the Field ID to read data from:
fieldID1 = [3];
% TODO - Replace the [] with the Field ID to read data from:
fieldID2 = [5];
% Channel Read API Key
% If your channel is private, then enter the read API
% Key between the '' below:
readAPIKey = '***********';
%% Read Data %%
% Read first data variable
[data1, time1] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 600, 'ReadKey', readAPIKey);
% Read second data variable
[data2, time2] = thingSpeakRead(readChannelID, 'Field', fieldID2, 'NumPoints', 600, 'ReadKey', readAPIKey);
%% Visualize Data %%
yyaxis left;
plot(time1, data1)
xlabel('Zeit');
ylabel('Watt');
yyaxis right;
plot(time2, data2);
xlabel('Zeit');
ylabel('Ampere');
title('Phase 2 - Watt & Ampere');
grid on;
Any help is appreciated - thanks in advance!
MD

댓글 수: 6

andrew titcombe
andrew titcombe 2024년 5월 28일
Yes mine is broken as well. Broken with the embeded link, but works in the edit page when i click the save an run button.
Vinod
Vinod 2024년 5월 28일
Thank you for reporting this. We're aware of the issue and are actively investigating a fix. This issue seems to be due to some AWS infrastructure change related to S3 permissions. There will be an update on this thread tomorrow.
MD..Sign
MD..Sign 2024년 5월 29일
Okay, thanks for the info. Glad to hear that I'm not the only one and you are working on it! I'll wait for the update. Thanks!
Rob (RobbesShed)
Rob (RobbesShed) 2024년 5월 29일
편집: Rob (RobbesShed) 2024년 5월 29일
Thanks. Same issue here. Good to know it's not me, especially as the visualization does work in the vis editor.
MD..Sign
MD..Sign 2024년 5월 29일
Jap, same here - in vis editor everything is fine:
Via public URL or channel overview the output picture is broken (resp. inaccessible).
Vinod
Vinod 2024년 5월 29일
Thanks for confirming that this is resolved.

댓글을 달려면 로그인하십시오.

답변 (1개)

MD..Sign
MD..Sign 2024년 5월 29일
이동: Christopher Stapels 2024년 6월 4일

0 개 추천

Yeah, it's working again! Thanks for the quick fix!

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

도움말 센터File Exchange에서 Read Data from Channel에 대해 자세히 알아보기

질문:

2024년 5월 28일

이동:

2024년 6월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by