필터 지우기
필터 지우기

app designer UI Table with calculation ability

조회 수: 2 (최근 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 CenterFile Exchange에서 Develop 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