Sending vectors in things Speak

1 visualizzazione (ultimi 30 giorni)
Nikolas Spiliopoulos
Nikolas Spiliopoulos il 18 Lug 2018
Hi all,
I have created a private channel with 4 fields. The first 3 fields have only one value so it's ok, however the fourth one is a vector, so I need to send all the values in one field. How can I do it? I saw a similar question However I didn't get it.
here is the command :
thingSpeakWrite(channelID,'Fields',[1,2,3,4],'Values', {50,1,49,0},'WriteKey',writeKey)
So in the fourth value instead of "0", I want to put a vector like this A=[1 0.2 0 3.2].
thanks in advance!

Risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by