Main Content

Access Frequently Used Features and Commands in Simulink

The Simulink® quick access toolbar provides access to frequently used operations and favorite commands. This toolbar is always visible, even when you navigate between different Simulink Toolstrip tabs.

The quick access toolbar has some default buttons, such as Save.

To customize the quick access toolbar, you can:

  • Right-click an item in the toolstrip and select Add to Quick Access Toolbar. To remove a toolstrip item you have added, right-click the item and select Remove from Quick Access Toolbar.

  • Drag items to change their position.

  • Show item labels by right-clicking the item icon and selecting Show Label.

  • Show or hide common items by clicking the rightmost dropdown button and selecting or clearing the corresponding check boxes.

To restore default settings for the quick access toolbar, use one of these options:

  • Right-click an item and select Restore Defaults .

  • Click the rightmost dropdown button and select Restore Defaults.

Search for Simulink Toolstrip Actions

To search for Simulink Toolstrip actions, click the Search Toolstrip button . In the search box that appears, start typing the name or description of the toolstrip item, then select it from the menu.

The search result for "config param" is the Model Settings toolstrip item.

If the Search Toolstrip button is not in the quick access toolbar, click the rightmost dropdown button and select the Search Toolstrip check box.

Alternatively, you can open the action search menu by double-clicking in the Simulink Editor canvas and selecting the Actions tab or by using the Ctrl + . (period) keyboard shortcut. For more information, see Keyboard Shortcuts and Mouse Actions for Simulink Modeling.

Rerun Favorite Commands for Simulink

The Simulink quick access toolbar provides you with a place to add, edit, organize, run, and delete your favorite MATLAB® commands. Click the Favorites button to open the Favorite Commands dialog box.

The dialog box allows you to add favorite commands under category headings.

The list of favorite commands is independent of the list of favorite commands in the MATLAB quick access toolbar.

To create a favorite command:

  1. Click New Favorite. The Favorite Command Editor dialog box opens.

  2. In the Label box, enter a name for the favorite command.

  3. In the Code box, type the statements you want the favorite command to run.

  4. Set Category to an existing category from the dropdown list.

  5. Click OK.

  6. To run the statements in the Code box and ensure that they perform the desired actions, click the button for the new command. All the statements in the Code box of the Favorite Command Editor execute as if you ran those statements from the Command Window, although they do not appear in the Command History window.

To edit or delete a favorite command, right-click the command and choose the corresponding option.

To create a new category for your favorite commands:

  1. Click New Category. The Favorite Category Editor dialog box opens.

  2. In the Label box, enter a name for the category.

  3. Click OK.

To edit or delete a category, right-click the category and choose the corresponding option.

Related Topics