Reading a sensor name which starts with negative sign causing error
Ältere Kommentare anzeigen
Hi
I am having some statistical files and i need to read the statistics corresponding to each sensor. But one of my sensor name starts with an negative sign like -Mx11, and matlab is able to read the file but while writing it out to a new variable it is throwing error
??? Invalid field name: '-Mx15'.
Is there any way to write this out with the negative sign/ why this error happens
1 Kommentar
Sean de Wolski
am 27 Apr. 2012
How are you calling it?
Antworten (1)
Image Analyst
am 27 Apr. 2012
0 Stimmen
You forgot to tell us how you're reading it. What are the lines of code that do the reading?
1 Kommentar
Walter Roberson
am 27 Apr. 2012
And the "writing to a new variable": we need to see that code too.
Kategorien
Mehr zu String Parsing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!