Sending vectors in things Speak

1 view (last 30 days)
Nikolas Spiliopoulos
Nikolas Spiliopoulos on 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!

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!