Skip to Main Content Skip to Search
Product Documentation

Registering Customizations

About Registering User Interface Customizations

You must register your user interface customizations using a MATLAB function called sl_customization.m. This is located on the MATLAB path of the Simulink installation that you want to customize. The sl_customization function should accept one argument: a handle to a customization manager object. For example:

function sl_customization(cm)

The customization manager object includes methods for registering menu and control customizations (see Customization Manager). Your instance of the sl_customization function should use these methods to register customizations specific to your application. For more information, see the following sections on performing customizations.

The sl_customization.m file is read when the Simulink software starts. If you subsequently change the sl_customization.m file, you must restart the Simulink software or enter the following command at the command line to effect the changes:

sl_refresh_customizations

Customization Manager

The customization manager includes the following methods:

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS