Main Content
slEditToolstripCommand
Description
slEditToolstripCommand(
opens the file
that defines the custom Simulink® Toolstrip command.action
)
For scripts, the file that defines the action also defines the command. When you set
commandType
to Script
, the
command
property directly specifies the script. When you set the
command
property to the name of a script on the MATLAB® path, the function opens the JSON file, not the referenced MATLAB script.
Examples
Input Arguments
Version History
Introduced in R2021b