Contenu principal

Mettre à jour des applications basées sur figure

Migrer des applications conçues avec GUIDE vers App Designer ou adopter une fonctionnalité recommandée dans des applications à l’aide de la fonction figure

Il est recommandé de créer des applications de manière interactive à l’aide de l’App Designer ou de manière programmatique à l’aide de la fonction uifigure.

Si vous avez des applications existantes créées à l’aide de GUIDE, vous pouvez continuer à exécuter les applications, mais vous ne pouvez pas les éditer à l’aide de l’environnement de design interactif GUIDE. Pour apporter des modifications à une application GUIDE existante, consultez GUIDE Migration Strategies.

Si vous disposez d’applications existantes créées avec la fonction figure, vous pourrez toujours les développer, les exécuter et les modifier, mais elles n’exploiteront pas pleinement les fonctionnalités et les composants UI disponibles avec les figures UI. Pour plus d’informations sur l’adoption d’une fonctionnalité récente dans vos applications, consultez Update figure-Based Apps to Use uifigure.

Fonctions

développer tout

appmigration.migrateGUIDEAppMigrate GUIDE apps to App Designer (depuis R2023a)
axesCreate Cartesian axes
uicontrolCreate user interface control
uitable Create table user interface component
uipanelCreate panel container
uibuttongroupCreate button group to manage radio buttons and toggle buttons
uitabCreate tabbed panel
uitabgroupCreate container for tabbed panels
uimenuCreate menu or menu items
uicontextmenuCreate context menu component
uitoolbarCreate toolbar in figure
uipushtoolCreate push tool in toolbar
uitoggletoolCreate toggle tool in toolbar
alignAlign UIControl components and Axes objects
moveguiMove figure to specified location on screen
getpixelpositionGet component position in pixels
setpixelpositionSet component position in pixels
listfontsList available system fonts
textwrapWrap text for user interface control
uistackReorder visual stacking of UI components
disableLegacyPaddingIncrease padding in panel UI container (depuis R2025a)
enableLegacyPaddingDecrease padding in panel UI container (depuis R2025a)

Alertes

errordlgCreate error dialog box
warndlgCreate warning dialog box
msgboxCreate message dialog box
helpdlgCreate help dialog box
waitbarCreate or update wait bar dialog box

Confirmation et entrée

questdlgCreate question dialog box
inputdlgCreate dialog box to gather user input
listdlgCreate list selection dialog box
uisetcolorOpen color picker
uisetfontOpen font selection dialog box
export2wsdlgCreate dialog box for exporting variables to workspace

Système de fichiers

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

Impression et exportation

uiprintdlgOpen figure print dialog box (depuis R2025a)
uiexportdlgOpen figure export dialog box (depuis R2025a)

Autre

dialogCreate empty modal dialog box
uigetpref Create dialog box that opens according to user preference
uiwaitBlock program execution and wait to resume
uiresumeResume execution of suspended program
waitforBlock execution and wait for condition
waitforbuttonpressWait for click or key press
getappdataRetrieve application data
setappdataStore application data
isappdataDetermine if application data exists
rmappdataRemove application data
guidataStore or retrieve UI data
guihandlesRetrieve child objects of figure
uisetprefManage preferences used in uigetpref

Propriétés

développer tout

Axes Properties Axes appearance and behavior
UIControl PropertiesControl appearance and behavior of user interface control
TableTable UI component
PanelPanel UI container
ButtonGroupButton group UI container
Tab Tab UI container
TabGroup Tab group UI container
MenuMenu UI component
ContextMenuContext menu UI component
ToolbarToolbar UI component
PushToolPush tool UI component
ToggleToolToggle tool UI component

Rubriques

Applications GUIDE

Applications programmatiques