Main Content

Simulink Environment Customization

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

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

Functions

expand all

slExportFavoriteCommandsExport favorite commands from Simulink quick access toolbar (Since R2021b)
slImportFavoriteCommandsImport favorite commands to Simulink quick access toolbar (Since R2021b)
slResetFavoriteCommandsReset Simulink Favorite Commands gallery (Since R2021b)
slConvertCustomMenusConvert custom toolbar menu into toolstrip tab (Since R2022a)
slCreateToolstripComponentCreate custom Simulink Toolstrip component (Since R2021b)
slCreateToolstripTabCreate custom tab for Simulink Toolstrip (Since R2021b)
slDestroyToolstripComponentDestroy Simulink Toolstrip component (Since R2021b)
slEditToolstripActionOpen file that defines custom Simulink Toolstrip action (Since R2021b)
slEditToolstripCommandOpen file that defines custom Simulink Toolstrip command (Since R2021b)
slEditToolstripIconOpen file that defines custom Simulink Toolstrip icon (Since R2021b)
slEditToolstripWidgetOpen file that defines custom Simulink Toolstrip tab, section, column, or control (Since R2021b)
slLoadedToolstripComponentsFind loaded custom Simulink Toolstrip components (Since R2021b)
slPersistToolstripComponentSpecify whether custom Simulink Toolstrip component persists across MATLAB sessions (Since R2021b)
sl_refresh_customizationsRefresh customizations in the current MATLAB session (Since R2022a)
slReloadToolstripConfigReload Simulink Toolstrip configuration (Since R2021b)
slUpdateToolstripComponentReload specific custom toolstrip component (Since R2023b)
slToolstripDeveloperModeEnable developer mode for Simulink Toolstrip (Since R2021b)
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
LibraryBrowser.LibraryBrowser2Get handle of Library Browser object
sl_refresh_customizationsRefresh customizations in the current MATLAB session (Since R2022a)

Objects

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

Topics