Appdesigner UITable - Display only the decimal part of big number

4 次查看(过去 30 天)
Hi all,
I know this is a kintergarden kind of question.
I have a UITable in the Appdesginer.
The output keep showing in e format.
I tried adding the line format long, format short, format longG... everything. It still shows the same format as in yellow.
I want it to display a normal decimal format as 4644.8
Is there any way to do that ?
Thank you
  3 个评论
HUY
HUY 2023-7-16
Thank you verymuch for your answer.
I used the num2str() and it worked perfectly.
dpb
dpb 2023-7-16
I didn't say it couldn't be done, just that it's a pain. If it's one-way only to display, that's not too bad; it's decoding back if user can change that gets to be a hassle.
If, however, that solved the Q?, then go ahead and Accept the answer to indicate so to the community...

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by