Borrar filtros
Borrar filtros

How to make Tabs in Matlab GUI without using GUIDE?

2 visualizaciones (últimos 30 días)
Aleksandar Petrov
Aleksandar Petrov el 27 de Jun. de 2017
Comentada: Stephen23 el 27 de Jun. de 2017
does someone know how to create Tabs in Matlab GUI without using GUIDE?

Respuesta aceptada

ES
ES el 27 de Jun. de 2017
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 comentarios
Aleksandar Petrov
Aleksandar Petrov el 27 de Jun. de 2017
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 el 27 de Jun. de 2017
@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).

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by