How to know if a table exist on a GUI?

조회 수: 2 (최근 30일)
kyana shayan
kyana shayan 2016년 7월 17일
답변: Image Analyst 2016년 7월 17일
Hi guys, I am developing a one page menu with GUI and I need to know if the user has developed a table by clicking on a push button or not. There will be different codes considering what the user has chosen. can anyone help me on this?

답변 (2개)

Walter Roberson
Walter Roberson 2016년 7월 17일
That is, you can share the information about whether the user has taken whatever action you need.

Image Analyst
Image Analyst 2016년 7월 17일
To find out whether a figure has a table on it or not, try something like
handleList = findobj(1, 'type', 'table')
handleList = findobj(1, 'type', 'uitable')
Not sure which one it is, if it is even any of those, but it might be worth giving it a try.
If a table is not there, handleList should be empty.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by