テーブル内の数値を浮動小数点の表示にしたい

App Designerでテーブル内の数値を浮動小数点の表示にするにはどのようにすればよいでしょうか
よろしくお願いします。

 Respuesta aceptada

Kojiro Saito
Kojiro Saito el 14 de Feb. de 2023

0 votos

UITABLE で表示される数値を任意桁数で表示できますか?」が参考になると思います。UITableで使えるColumnFormatというプロパティを変更して実現できます。出力表示はこちらのドキュメントにリストがあります。
実行例:
app.UITable.Data = [93.1285, 128.3428, 8458.2];
app.UITable.ColumnFormat = {'longG', 'longG', 'longG'};

Más respuestas (0)

Categorías

Más información sobre App Designer を使用したアプリ開発 en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Feb. de 2023

Respondida:

el 14 de Feb. de 2023

Community Treasure Hunt

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

Start Hunting!