ssc_clean
(To be removed) Clean all derived files generated by library build process
ssc_clean will be removed in a future release. Use sscclean instead. (since R2024b) Syntax and
arguments of the two functions are identical.
Syntax
ssc_clean namespace
Description
ssc_clean deletes
all derived files generated by namespacessc_build in the namespace named
, including the library
file. namespace
The argument, , must be a top-level
namespace name. namespace
Note
The namespace folder name begins with a leading + character,
whereas the argument to ssc_clean must omit the
+ character.
Running ssc_clean before rebuilding a library forces
ssc_build to generate all derived files in the namespace,
rather than regenerate only those files that have changed. You do not need to run
ssc_clean before regular iterative library builds.
When you upgrade to a new version of Simscape™ software, run ssc_clean and then rebuild the custom
block libraries.
When deploying your libraries on multiple platforms, you do not need to run
ssc_clean on each platform. Use ssc_clean
at the beginning of deployment and then just run ssc_build on each
platform.
Examples
To clean all derived files from the namespace folder +MyNamespace, invoke
the following from the folder containing the namespace folder
+MyNamespace:
ssc_clean MyNamespace;