Set numbers behind the comma in text edit view on gui matlab?
1 次查看(过去 30 天)
显示 更早的评论
Im trying to display some output value from my calculations to an edit text box in my GUI window. I want to set 4 numbers behind the comma in text edit view. How I can do that?
1 个评论
Stephen23
2017-5-10
It is easy to set the format using num2str or sprintf.
What have you tried so far?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!