check if tab exist

조회 수: 1 (최근 30일)
Luca Re
Luca Re 2023년 10월 23일
답변: Voss 2023년 10월 23일
if ~isappdata(app.Tab_Instrum_Aggreg)
Predator_CreaOggetti_Instrument_Struct(app);
end
Error using isappdata
Not enough input arguments.
this is reserver world:
but name what is?
  댓글 수: 2
Rik
Rik 2023년 10월 23일
The documentation states: "Name identifier of the data, specified as a character vector or string scalar. This identifier is the same name identifier passed to setappdata during the storage operation."
But you seem to be confusing this function with accessing a property in AppDesigner. This function was introduced 2 decades before AppDesigner was released. I doubt you need it here.
What do you want to do? You really need to start improving your questions. Formatting and a longer explanation of the context of what you have and what you want help a lot. It can even help you answer your question before you post it.
Luca Re
Luca Re 2023년 10월 23일
i want check if app.Tab_Instrum_Aggreg exist or not
(app.Tab_Instrum_Aggreg is created using copyobj)

댓글을 달려면 로그인하십시오.

채택된 답변

Voss
Voss 2023년 10월 23일
"i want check if app.Tab_Instrum_Aggreg exist or not"
isprop(app,'Tab_Instrum_Aggreg')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Testing Frameworks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by