Esta página aún no se ha traducido para esta versión. Puede ver la versión más reciente de esta página en inglés.

Apps basadas en uifigure

Desarrollar apps de manera programática mediante las figuras de las IU diseñadas para la creación de apps (función uifigure)

Diseñe y edite apps de manera programática codificando su diseño y comportamiento mediante las funciones de MATLAB®. La función uifigure crea una figura configurada expresamente para la creación de apps y que ejerce de contenedor de la interfaz de usuario. Las figuras de la IU son compatibles con los mismos tipos de gráficos modernos y los componentes interactivos de la IU compatibles con App Designer.

Funciones

expandir todo

Contenedores

uifigureCreate figure for designing apps
uigridlayoutCreate grid layout manager
uipanelCreate panel container
uitabgroupCreate container for tabbed panels
uitabCreate tabbed panel

Ejes

uiaxesCreate UI axes for plots in apps
axesCreate Cartesian axes
geoaxesCreate geographic axes
polaraxesCreate polar axes

Componentes comunes

uibuttonCreate push button or state button component
uibuttongroupCreate button group to manage radio buttons and toggle buttons
uicheckboxCreate check box component
uidatepickerCreate date picker component
uidropdownCreate drop-down component
uieditfieldCreate text or numeric edit field component
uiimageCreate image component
uilabelCreate label component
uilistboxCreate list box component
uiradiobuttonCreate radio button component
uisliderCreate slider component
uispinnerCreate spinner component
uitable Create table user interface component
uitextareaCreate text area component
uitogglebuttonCreate toggle button component
uitreeCreate tree component
uitreenodeCreate tree node component

Herramientas de la figura

uicontextmenuCreate context menu component
uimenuCreate menu or menu items
uipushtoolCreate push tool in toolbar
uitoggletoolCreate toggle tool in toolbar
uitoolbarCreate toolbar in figure

Componentes de instrumentación

uigaugeCreate gauge component
uiknobCreate knob component
uilampCreate lamp component
uiswitchCreate slider switch, rocker switch, or toggle switch component

Componentes extensibles

uihtmlCreate HTML UI component

Nodo de árbol

expandExpand tree node
collapseCollapse tree node
moveMove tree node

Contenedores, cuadro de lista o árbol

scrollScroll to location within container, tree, list box, or text area

Menú contextual

openOpen context menu at location within UI figure

Tabla

uistyleCreate style for table UI component
addStyleAdd style to table UI component
removeStyleRemove style from table UI component
uialertDisplay alert dialog box
uiconfirmCreate confirmation dialog box
uiprogressdlgCreate progress dialog box
uisetcolorOpen color picker
uigetfileOpen file selection dialog box
uiputfileOpen dialog box for saving files
uigetdirOpen folder selection dialog box
uiopenOpen file selection dialog box and load selected file into workspace
uisaveOpen dialog box for saving variables to MAT-file

Propiedades

expandir todo

Contenedores

UI Figure PropertiesControl UI figure appearance and behavior for uifigure-based apps
GridLayout PropertiesControl grid layout manager behavior
Panel PropertiesControl panel appearance in uifigure-based apps
TabGroup PropertiesControl tab group appearance and behavior in uifigure-based apps
Tab PropertiesControl tab appearance in uifigure-based apps

Ejes

UIAxes PropertiesUI axes appearance and behavior
Axes Properties Axes appearance and behavior
GeographicAxes PropertiesControl geographic axes appearance and behavior
PolarAxes PropertiesPolar axes appearance and behavior

Componentes comunes

Button PropertiesControl button appearance and behavior
ButtonGroup PropertiesControl button group appearance and behavior in uifigure-based apps
CheckBox PropertiesControl check box appearance and behavior
DatePicker PropertiesControl date picker appearance and behavior
DropDown PropertiesControl drop-down list appearance and behavior
EditField PropertiesControl edit field appearance and behavior
Image PropertiesControl image component appearance and behavior
Label PropertiesControl label appearance
ListBox PropertiesControl list box appearance and behavior
NumericEditField PropertiesControl numeric edit field appearance and behavior
ProgressDialog PropertiesControl progress dialog box appearance and behavior
RadioButton PropertiesControl radio button appearance
Slider PropertiesControl slider appearance and behavior
Spinner PropertiesControl spinner appearance and behavior
StateButton PropertiesControl state button appearance and behavior
Table PropertiesControl table UI component appearance and behavior in uifigure-based apps
TextArea PropertiesControl text area appearance and behavior
ToggleButton PropertiesControl toggle button appearance
Tree PropertiesControl tree appearance and behavior
TreeNode PropertiesControl tree node appearance and behavior

Herramientas de la figura

ContextMenu PropertiesControl context menu appearance and behavior
Menu PropertiesControl menu appearance and behavior in uifigure-based apps
PushTool PropertiesControl push tool appearance and behavior
ToggleTool PropertiesControl toggle tool appearance and behavior
Toolbar PropertiesControl toolbar appearance and behavior

Componentes de instrumentación

DiscreteKnob PropertiesControl discrete knob appearance and behavior
Gauge PropertiesControl gauge appearance and behavior
Knob PropertiesControl knob appearance and behavior
Lamp PropertiesControl lamp appearance
LinearGauge PropertiesControl linear gauge appearance and behavior
NinetyDegreeGauge PropertiesControl ninety-degree gauge appearance and behavior
RockerSwitch PropertiesControl rocker switch appearance and behavior
SemicircularGauge PropertiesControl semicircular gauge appearance
Switch PropertiesControl switch appearance and behavior
ToggleSwitch PropertiesControl toggle switch appearance and behavior

Componentes extensibles

HTML PropertiesControl HTML UI component appearance and behavior
Style PropertiesStyle for table UI component

Temas

Componentes del diseñador de aplicaciones

Vea una lista de los componentes de la interfaz de usuario disponibles en el diseñador de aplicaciones.

Aplicación programática que muestra una tabla

En este ejemplo se muestra cómo crear una tabla en una aplicación mediante la función.uitable También se muestra cómo modificar la apariencia de la tabla y cómo restringir la edición de la tabla en la aplicación en ejecución.

Formas de crear aplicaciones

Obtén información sobre diferentes formas de crear aplicaciones y las compensaciones para cada enfoque.