How to make Tabs in Matlab GUI without using GUIDE?

1 次查看(过去 30 天)
does someone know how to create Tabs in Matlab GUI without using GUIDE?

采纳的回答

ES
ES 2017-6-27
uitab
Example:
fHdl = figure;
objTbGrp = uitabgroup('Parent', fHdl);
objTab = uitab('Parent', objTbGrp, 'Title', 'TAB 1 HEADING');
objTab = uitab('Parent', objTbGrp, 'Title', 'TAB 2 HEADING');
  2 个评论
Aleksandar Petrov
Aleksandar Petrov 2017-6-27
do you know how to make references on different guide elements to different tabs. for instance, one push button is placed on the first tab and another push button on the second tab?
Thank you, Aleksandar Petrov
Stephen23
Stephen23 2017-6-27
@Aleksandar Petrov: allocate the tab handles to an array, and refer to those handles when defining the GUI elements (e.g. using the parent property, or as the first argument of many plotting functions).

请先登录,再进行评论。

更多回答(0 个)

类别

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