use the variable editor in a GUI

조회 수: 3 (최근 30일)
Luigi Bruno
Luigi Bruno 2016년 11월 16일
댓글: Brendan Hamm 2016년 11월 16일
Dear all, is there anyway to use the variable editor in a GUI? e.g. pushing a button of the GUI the variable editor appears giving the opportunity to look at specific variable
Thank you

답변 (1개)

Brendan Hamm
Brendan Hamm 2016년 11월 16일
The open command will open a variable in the Variable Editor:
x = rand(1,10);
open x
  댓글 수: 2
Luigi Bruno
Luigi Bruno 2016년 11월 16일
First of all, thank you for your answer. PRObably i have not been clear enough. What i want to do is to give the opportunity to the user to "navigate" in the variable browser when using my standalone application. if i write in my code "open x" nothing happens since there is no workspace in the standalone application. What i was asking is if there is anyway to use the variable editor also in the application. I hope it is more clear now. As i said before, thank you very much for you answer and your time
Brendan Hamm
Brendan Hamm 2016년 11월 16일
No, you cannot use the variable editor in a standalone application. Something you could do which is similar is to display the data in a uitable which is interactive and scrollable.

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

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by