sscmirror
Syntax
Description
sscmirror(
lets you protect and build a whole namespace of Simscape files in one step. It creates a protected mirror of a namespace of Simscape files, namespace
,mirrordir
,true)namespace
, in the specified folder,
mirrordir
, and also builds a custom library from these files in the
mirrordir
folder. The custom Simscape library file is named
. The
namespace
_libbuildmirror
flag is optional and the default is
false
, that is, by default the namespace is mirrored and protected but
the library is not built.
sscmirror
is the command form of the syntax. Command form requires fewer special characters. You do
not need to type parentheses or enclose the input in single or double quotes. Separate
inputs with spaces instead of commas. namespace
mirrordir
true
Do not use command form when mirrordir
uses variables, or functions
like fullfile
, to specify the output library name and location. For
more information on the command-function duality, see Choose Command Syntax or Function Syntax.
Examples
Input Arguments
Version History
Introduced in R2024b
See Also
addpath
| genpath
| fullfile
| sl_postprocess
| sscbuild
| sscprotect