Reading a sensor name which starts with negative sign causing error
1 回表示 (過去 30 日間)
古いコメントを表示
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 件)
Image Analyst
2012 年 4 月 27 日
You forgot to tell us how you're reading it. What are the lines of code that do the reading?
1 件のコメント
参考
カテゴリ
Help Center および File Exchange で String Parsing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!