help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Store Data Detected by Octave


From: GuiCintraAlves
Subject: Re: How to Store Data Detected by Octave
Date: Thu, 9 Mar 2017 04:04:59 -0800 (PST)

I used the code, but .... I think don't know if  apply the Code

clear;
pkg load instrument-control
s1 = serial("/dev/ttyACM0",9600 );                        
data = srl_read(s1,100);
s1 = char(data)
[t,p,a,ar,100]= sscanf("temperatura = " ,"Pressao = ","Altitude", "Altirude
real = ")
..................................................................................................................
> leitura_BPM085

parse error near line 9 of file /home/gui/octave/leitura_BPM085.m

  invalid left hand side of assignment

>>> [t,p,a,ar,100]= sscanf("temperatura = " ,"Pressao = ","Altitude",
>>> "Altirude real = ")
                        
                                      * OR*


>> leitura_BPM085

error: unterminated character string constant
parse error near line 11 of file /home/gui/octave/leitura_BPM085.m

  syntax error






--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-Store-Data-Detected-by-Octave-tp4682233p4682255.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]