テーブル内の数値を浮動小数点の表示にしたい
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
大輝 隅岡
el 12 de Feb. de 2023
Respondida: Kojiro Saito
el 14 de Feb. de 2023
App Designerでテーブル内の数値を浮動小数点の表示にするにはどのようにすればよいでしょうか
よろしくお願いします。![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1293390/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1293390/image.png)
0 comentarios
Respuesta aceptada
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'};
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre App Designer を使用したアプリ開発 en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!