Main Content

slExportFavoriteCommands

Export favorite commands from金宝appquick access toolbar

Description

example

slExportFavoriteCommands(file)exports the contents of the Simulink®Favorite Commands画廊到指定的文件中.

Examples

collapse all

Suppose you create a set of favorite commands in the SimulinkFavorite Commandsgallery that you want to share with team members. You can export the contents of your SimulinkFavorite Commandsgallery to a file.

For example, export the gallery contents to a file namedslFavorites.matin theB:\path\directory.

In the MATLAB®Command Window, enter:

slExportFavoriteCommands('B:\path\slFavorites.mat');

Input Arguments

collapse all

File name or path, including a.matfile extension, specified as a character vector or string scalar.

Example:slExportFavoriteCommands('B:\path\slFavorites.mat')

Data Types:char|string

Version History

Introduced in R2021b