Clear Filters
Clear Filters

Problem with Thingspeak input block in simulink

4 views (last 30 days)
problem in sending data from ThingSpeak to Simulink block. Everytime I tried to send data from write channel it is not showing the exact graph as in ThingSpeak visualization.
  5 Comments
Tanusree
Tanusree on 31 Jan 2024
The plot in my Simulink model scope doesn't match with ThingSpeak visualization.
Christopher Stapels
Christopher Stapels on 31 Jan 2024
Can you clarify what you mean by not matching? Are the data points completely different, or are there just a few missing, or something else?
Maybe you could share a screen shot to show us what you mean?

Sign in to comment.

Accepted Answer

Swaraj
Swaraj on 29 Jan 2024
Hi Tanusree,
The issue might be due to one of the following:
  1. Please check that the channel number is correct and the Read API Key you are providing is correct.
  2. Please check the "Update period" field. It is used to set the time between successive reads over the channel.
  3. Verify the "Sample Time" of the block as well if it is as per your requirement.
For more information, please follow the below documentation:
Hope it helps!!

More Answers (0)

Categories

Find more on Prepare and Analyze Data in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!