regarding fetching data from thingspeak in simulink

i am getting no result with thingspeak attached in virtual model to validate my real data value from thingspeak on cloud. Please resolve my problem . note- i have tried my entering product read key in tingspeak pertal on virtual model moreover i also applied my setting private channel , public channel entering channel id etc still i am not successfull.

Answers (1)

Hi Abhishek,
You can check the following things to ensure correct workflow.
Check Channel ID & Read API Key:
  • Make sure both are correctly entered and match your ThingSpeak channel.
Channel Privacy:
  • If private, use the Read API Key.
  • If public, only Channel ID is needed.
Correct Field Number:
  • Ensure your model reads the correct field (field1, field2, etc.).
Check for Data:
  • Make sure your ThingSpeak channel actually has recent data.
Network Issues:
  • Ensure your network/firewall allows access to api.thingspeak.com.

1 Comment

Hello Aditya
Thank you, i have tried all points suggested by you , still i am not getting thingspeak data.

Sign in to comment.

Categories

Asked:

on 16 Dec 2025

Commented:

on 22 Dec 2025

Community Treasure Hunt

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

Start Hunting!