app designer UI Table with calculation ability

4 ビュー (過去 30 日間)
Liu Haoge
Liu Haoge 2021 年 7 月 15 日
回答済み: Pavan Guntha 2021 年 7 月 30 日
I find the UI Table only accepts numbers. For example, if the user inputs "1/sqrt(3)" or "1/3" in a cell of the table, then the cell will become "NaN".
Is there a good way to let the UI Table have some simple calculation ability?

回答 (1 件)

Pavan Guntha
Pavan Guntha 2021 年 7 月 30 日
Hi Liu,
You could leverage the "CellEditCallback" callback function of the uitable to add functionalities to any cell of the uitable. You could have a look at the following documentation page for more details:
Hope this helps!

カテゴリ

Help Center および File ExchangeDevelop 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