テーブル内の数値を浮動小数点の表示にしたい
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
大輝 隅岡
am 12 Feb. 2023
Beantwortet: Kojiro Saito
am 14 Feb. 2023
App Designerでテーブル内の数値を浮動小数点の表示にするにはどのようにすればよいでしょうか
よろしくお願いします。
0 Kommentare
Akzeptierte Antwort
Kojiro Saito
am 14 Feb. 2023
「UITABLE で表示される数値を任意桁数で表示できますか?」が参考になると思います。UITableで使えるColumnFormatというプロパティを変更して実現できます。出力表示はこちらのドキュメントにリストがあります。
実行例:
app.UITable.Data = [93.1285, 128.3428, 8458.2];
app.UITable.ColumnFormat = {'longG', 'longG', 'longG'};
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu App Designer を使用したアプリ開発 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!