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

11 visualizaciones (últimos 30 días)
大輝 隅岡
大輝 隅岡 el 12 de Feb. de 2023
Respondida: Kojiro Saito el 14 de Feb. de 2023
App Designerでテーブル内の数値を浮動小数点の表示にするにはどのようにすればよいでしょうか
よろしくお願いします。

Respuesta aceptada

Kojiro Saito
Kojiro Saito el 14 de Feb. de 2023
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 Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!