Main Content


Enable developer mode for Simulink Toolstrip



tf = slToolstripDeveloperMode(status) enables a developer mode that lets you get action and icon names for controls, such as push buttons, in the Simulink® Toolstrip.

To display the action and icon names in the MATLAB® Command Window, pause on the control in the Simulink Toolstrip and press Ctrl. On a Mac, press command (⌘) instead of Ctrl.


collapse all

In the MATLAB Command Window, enable developer mode for the Simulink Toolstrip.

ans =



The function enables developer mode for the Simulink Toolstrip. The returned value indicates that developer mode was disabled before you entered this command.

Input Arguments

collapse all

Desired status of developer mode, specified as specified as 'on' or 'off', or as numeric or logical 1 (true) or 0 (false). A value of 'on' is equivalent to true, and 'off' is equivalent to false. Thus, you can use the value of this property as a logical value. The value is stored as an on/off logical value of type matlab.lang.OnOffSwitchState.

By default, developer mode for the Simulink Toolstrip is disabled. Enable developer mode when you want to get the action and icon names of items in the Simulink Toolstrip.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | logical | char

Output Arguments

collapse all

Previous status of developer mode, returned as a 1 or 0 of data type logical.

Introduced in R2021b