MATLAB App Designer基础教程Matlab GUI界面设计基础课程学习笔记(3)——按钮控制选项卡组中的页面
·

页面布局如上图所示,点击进入按钮跳转到写一个界面,那么“进入”的回调函数应该是什么样子的呢?
function Button_EnterPushed(app, event)
app.TabGroup.SelectedTab = app.Tab_4;
end
function Button_EnterPushed(app, event)
app.TabGroup.SelectedTab = app.Tab_4;
end
function Button_EnterPushed(app, event)
app.TabGroup.SelectedTab = app.Tab_4;
end
function Button_EnterPushed(app, event)
app.TabGroup.SelectedTab = app.Tab_4;
end
function Button_EnterPushed(app, event)
app.TabGroup.SelectedTab = app.Tab_4;
end
通过上述代码就可实现该命令。
更多推荐
所有评论(0)