Display Thing-Speak's charts in my MATLAB app.

2 次查看(过去 30 天)
Hello,
I am bulding an app using MATLAB's App designer, But I am facing a problem. In my app I am trying to embed charts of thing speak fields. For
example I want to show exactly this plot in my App and to be dynamic which means as the data changes in thing speak, it also changes in my app. (if the method change in embeding the plot between public and private channel please give me the method for both)

采纳的回答

Christopher Stapels
Click the cloud icon on your ThingSpeak play. Copy the html starting with '<iframe width=...'
Open app designer. Type 'html' in the Component library and select HTML.
Drag it into your form. Paste the iframe html into the field in the HTML Source in the Component browser for the HTML element.
To do it with a private chart you will need to embed a read API key., see the charts API.
Can you share a screen shot of your app when done? Or even better, share it on File exchange!
  2 个评论
Mecdettin
Mecdettin 2023-9-6
Thank you for your response it helped me a lot. I have searched for days to embed this plot in my app but with no solution. Below is a screen shot of the plot in my app. Thank you again.
Christopher Stapels
Awesome, thanks. I tried it out after I saw your question, so I appreciate that chance to learn a new trick. When the app is done, please consider sharing it on File Exchange so others could use it.

请先登录,再进行评论。

更多回答(0 个)

社区

更多回答在  ThingSpeak Community

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by