Main Content

Simscape File Deployment

Use Simscape™ files in block diagrams

You deploy the textual component files in block diagrams by converting them into custom Simscape blocks. You can quickly transform a Simscape component file into a block in your model by using the Simscape Component block. You can also build custom block libraries of your Simscape components, enabling you to share these models across your organization. For more information on these two methods, see Generating Custom Blocks from Simscape Component Files.

Simscape Blocks

Simscape ComponentDeploy Simscape language component as custom block in model diagram


ssc_buildBuild custom library from collection of Simscape files
ssc_mirrorCreate protected mirror of library of Simscape files
ssc_protectGenerate Simscape protected files from source files
sl_postprocessMake postprocessing customizations when building custom block library
ssc_cleanClean all derived files generated by library build process
ssc_updateUpdate Simscape component files to use new syntax
simscape.dependency.fileCheck dependencies for single file
simscape.dependency.libCheck dependencies for library package
simscape.dependency.modelCheck dependencies for model
subsystem2sscConvert subsystem containing Simscape blocks into equivalent Simscape file or files


Basic Techniques of Custom Component Deployment

Custom Block Display in Diagrams

Custom Block Libraries

Case Studies