Main Content
buildBattery
Description
buildBattery(
generates one or more custom Simscape™ library files and a MAT file from the battery object
battery
,Name=Value
)battery
. You can build a custom Simscape library file from the
ParallelAssembly
, Module
,
ModuleAssembly
, and Pack
objects.
Note
When you generate a library file for the ParallelAssembly
and
Module
objects, the buildBattery
function first
generates the corresponding Simscape SSC file and then calls the ssc_build
function to generate the library file.
The blocks that are generated from ModuleAssembly
and
Pack
objects are Simulink® subsystems that comprise parallel assemblies and module blocks.