Filter löschen
Filter löschen

app designer UI Table with calculation ability

4 Ansichten (letzte 30 Tage)
Liu Haoge
Liu Haoge am 15 Jul. 2021
Beantwortet: Pavan Guntha am 30 Jul. 2021
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?

Antworten (1)

Pavan Guntha
Pavan Guntha am 30 Jul. 2021
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!

Kategorien

Mehr zu Develop Apps Using 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!

Translated by