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
slImportFavoriteCommandsImport favorite commands to Simulink quick access toolbar
slResetFavoriteCommandsReset Simulink Favorite Commands gallery
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
slReloadToolstripConfigReload Simulink Toolstrip configuration
slToolstripDeveloperModeEnable developer mode for Simulink Toolstrip
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
hdllibDisplay blocks that are compatible with HDL code generation
LibraryBrowser.LibraryBrowser2Get the handle of the Library Browser object

Objects

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

Topics

Access Frequently Used Features and Commands in Simulink

Customize the quick access toolbar and favorite commands.

Create Custom Simulink Toolstrip Tabs

Add custom tabs and actions to the Simulink Toolstrip.

Add Prepopulated Custom Tab to Simulink Toolstrip

Add prepopulated custom tab to Simulink Toolstrip and modify it.

Disable Simulink Toolstrip and Context Menu Actions

Change the state of default items in the Simulink Toolstrip and context menu.

Add Items to Model Editor Menus

Add your own commands to Simulink and Stateflow® menus.

Disable and Hide Dialog Box Controls

Disable or hide buttons, text fields, and other controls on Simulink dialog boxes.

Improve Quick Block Insert Results

Update the database that determines what appears on the quick insert menu based on your model designs.

Customize Library Browser Appearance

Reorder, disable, or hide libraries using these techniques. You can also specify whether a library appears expanded or collapsed by default in the Library Browser.

Set Simulink Preferences

You can use Simulink Preferences to specify Simulink editing environment options and default behaviors.

Register Customizations with Simulink

Register customizations that modify default Simulink user interfaces.