Reading a sensor name which starts with negative sign causing error
이전 댓글 표시
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
Sean de Wolski
2012년 4월 27일
How are you calling it?
답변 (1개)
Image Analyst
2012년 4월 27일
0 개 추천
You forgot to tell us how you're reading it. What are the lines of code that do the reading?
댓글 수: 1
Walter Roberson
2012년 4월 27일
And the "writing to a new variable": we need to see that code too.
카테고리
도움말 센터 및 File Exchange에서 String Parsing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!