Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Mecdettin
Mecdettin am 6 Sep. 2023
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)

Akzeptierte Antwort

Christopher Stapels
Christopher Stapels am 6 Sep. 2023
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 Kommentare
Mecdettin
Mecdettin am 6 Sep. 2023
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
Christopher Stapels am 6 Sep. 2023
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Communitys

Weitere Antworten in  ThingSpeak Community

Kategorien

Mehr zu Visualize Data finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by