Main Content

Simulink Environment Customization

R2026b
Add or remove items from menus and dialog boxes, change display and autosave settings

Customize the context menu, toolstrip, quick access bar, quick insert menu, Library Browser, dialog boxes, and more in the Simulink® environment.

To provide suggestions for improving Simulink and Stateflow®, in the quick access bar located in the upper right of the model window, click the Feedback button.

Tools

Simulink PreferencesSettings for Simulink Editor and model files

Functions

expand all

slConvertCustomMenusConvert custom toolbar menu into toolstrip tab (Since R2022a)
slCreateToolstripComponentCreate custom Simulink Toolstrip component
slCreateToolstripTabCreate custom tab for Simulink Toolstrip
slDestroyToolstripComponentDestroy Simulink Toolstrip component
slEditToolstripActionOpen file that defines custom Simulink Toolstrip action
slEditToolstripCommandOpen file that defines custom Simulink Toolstrip command
slEditToolstripIconOpen file that defines custom Simulink Toolstrip icon
slEditToolstripWidgetOpen file that defines custom Simulink Toolstrip tab, section, column, or control
slLoadedToolstripComponentsFind loaded custom Simulink Toolstrip components
slPersistToolstripComponentSpecify whether custom Simulink Toolstrip component persists across MATLAB sessions
sl_refresh_customizationsRefresh customizations in the current MATLAB session (Since R2022a)
slReloadToolstripConfigReload Simulink Toolstrip configuration
slUpdateToolstripComponentReload specific custom toolstrip component (Since R2023b)
slUIDeveloperModeGet extension point, action, and icon names of widgets in Simulink Toolstrip and context menu (Since R2026a)
LibraryBrowser.LibraryBrowser2Get handle of Library Browser object
sl_refresh_customizationsRefresh customizations in the current MATLAB session (Since R2022a)
slExportFavoriteCommandsExport favorite commands from Simulink quick access toolbar
slImportFavoriteCommandsImport favorite commands to Simulink quick access toolbar
slResetFavoriteCommandsReset Simulink Favorite Commands gallery
slblocksearchdb.untrainmodelRemove the effect of a model from the suggestion engine
slblocksearchdb.trainfrommodelTrain suggestion engine to improve quick insert results based on one model
slblocksearchdb.trainfrommodelsindirTrain suggestion engine to improve quick insert results based on models in a folder
slblocksearchdb.untrainmodelsindirRemove the effects of models from the suggestion engine
slblocksearchdb.untrainallRemove the effects of all added models from the suggestion engine
Simulink.history.clearClear the Simulink start page and editor history

Extension Points

expand all

RichMenu Extension PointsAdd widgets to Simulink context menus
Simulink Context Menu Filter ObjectDisable widget actions or hide context menu widgets
slUIDeveloperModeGet extension point, action, and icon names of widgets in Simulink Toolstrip and context menu
slConvertCustomContextMenusConvert Simulink context menu customizations to extension points format
slReloadStudioConfigReload Simulink studio configuration
slValidateContextMenuValidate and debug JSON files that define context menu customization

Objects

LibraryBrowser.LBStandaloneDisplay, hide, size, and position Simulink Library Browser

Topics

Customize Context Menus

Customize Toolstrip

Other

Register Customizations