PLEASE HELP!! Matlab AppDesigner Putting a certain number of panels

1 回表示 (過去 30 日間)
hgrlk
hgrlk 2021 年 5 月 21 日
コメント済み: Yongjian Feng 2021 年 10 月 24 日
Hello,
I have a problem with matlab app designer. I want to do something; when I select the amount in the list box and then click the button, that amount of panels are shown. How can I do that? I wrote function to get able to visibility of panel after push the button. But I cannot define the number of panels.
Thanks for help!
% Callbacks that handle component events
methods (Access = private)
% Code that executes after component creation
function startupFcn(app)
app.Panel.Visible = "off";
end
% Callback function
function ButtonGroupSelectionChange(app, event)
end
% Button pushed function: Button
function ButtonPushed(app, event)
app.Panel.Visible="on";
end
end
  3 件のコメント
Georgiana Cristea
Georgiana Cristea 2021 年 10 月 19 日
Hello!
I am currently trying to handle the same issue, and as an answer to your question, I would like the panels to be shown on top of each other and then add some additional two buttons to help me switch through them.
Please respond asap.
Thank you in advance for the help!
Kind Regards,
G
Yongjian Feng
Yongjian Feng 2021 年 10 月 24 日
Why not tabs? Then you don't need to worry about how to position them, and what happens if there are too many.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by