Skip to Main Content Skip to Search
Product Documentation

Function Reference


Model ConstructionCreate new model populated by required blocks
Physical UnitsAdd and list units in unit registry
Data LoggingWork with logged simulation data
File and Model DependenciesCheck file and model dependencies
Simscape Language SupportWork with Simscape files and custom block libraries

Model Construction

ssc_newCreate new Simscape model populated by required and commonly used blocks

Physical Units

pm_adddimensionAdd new dimension to unit registry
pm_addunitAdd new unit to unit registry
pm_getdimensionsGet information about all dimensions in unit registry
pm_getunitsGet information about all units in unit registry

Data Logging

plot (simscape.logging.Node)Plot all series associated with node object
plot (simscape.logging.Series)Plot series values against time
plotxy (simscape.logging.Node)Plot series associated with two node objects against each other
plotxy (simscape.logging.Series)Plot two series against each other
print (simscape.logging.Node)Print complete logging tree of node object
simscape.logging.NodeRepresent hierarchy tree for simulation data
simscape.logging.plotPlot logged simulation data for node or series
simscape.logging.plotxyPlot logged simulation data for one node or series against another
simscape.logging.SeriesRepresent time-value series for simulation data
time (simscape.logging.Series)Extract time vector from simulation series
values (simscape.logging.Series)Extract values vector from simulation series

File and Model Dependencies

simscape.dependency.fileCheck dependencies for single file
simscape.dependency.libCheck dependencies for library package
simscape.dependency.modelCheck dependencies for model

Simscape Language Support

sl_postprocessMake postprocessing customizations when building custom block library
ssc_buildBuild custom library from collection of Simscape files
ssc_cleanClean all derived files generated by library build process
ssc_mirrorCreate protected mirror of library of Simscape files
ssc_protectGenerate Simscape protected files from source files
ssc_reservedList reserved words
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS