Sending vectors in things Speak

1 Ansicht (letzte 30 Tage)
Nikolas Spiliopoulos
Nikolas Spiliopoulos am 18 Jul. 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!

Antworten (0)

Kategorien

Mehr zu Simulink 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