Edit Control in a GUI
1 次查看(过去 30 天)
显示 更早的评论
If the contents end in a backslash (text entered using the Property Inspector) the result has a non-printing character added at execution and are therfore not correct if I want to use the value. If I change the contents of the Edit Control during execution, the contents are correct.
2 个评论
Walter Roberson
2013-10-26
Interesting. Is the non-printing character always the same one? What is its corresponding numeric value?
采纳的回答
Robert
2013-10-27
2 个评论
Walter Roberson
2013-10-27
get() teh String property, and add numeric 0 to the string. The result will be a numeric array that will show the character numbers of each character.
更多回答(0 个)
另请参阅
类别
在 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!