soc.sdk.BoardSupport Class
Namespace: soc.sdk
Define and register tools and features of a supported hardware board
Description
Use the soc.sdk.BoardSupport class to define the collection of
configuration files, source and header files, tools, and libraries that SoC Blockset™, Embedded Coder®, and HDL Coder™ use to configure, build, deploy, and interact with your model as an
application on an SoC hardware board. A group of tools, libraries, and configurations
that serve a specific purpose define a feature of this object. A
feature object, such as a soc.sdk.Deployer object, when added to a
BoardSupport object, enables a model to use the feature.
You can map each feature of an BoardSupport object to an soc.sdk.Hardware object by using the map method. Mapping features of a BoardSupport object to
a Hardware object adds the needed files and configuration information
to the board support files. These files enable those features in the Simulink® configuration parameters for the associated SoC hardware board.
You can create a new BoardSupport object that already includes many
features by referencing an existing BoardSupport object. When using an
existing object as a reference, you only need to add or modify the features unique to
the BoardSupport object you are creating.
Tip
Creating a BoardSupport object from a reference object can
greatly accelerate your development time by providing ready-to-use features. Use
this option for creating new BoardSupport objects in SoC Blockset.
Creation
Description
creates a boardSupportObj = soc.sdk.BoardSupport(name,referenceBoardSupport,folder)BoardSupport object with the
Name property set to name,
ReferenceTargets property set to
referenceBoardSupport, and Folder
property set to folder.
creates an empty boardSupportObj = soc.sdk.BoardSupport(name,folder)BoardSupport object with the
Name property set to name and
Folder property set to
folder.
Note
Without a reference BoardSupport, all features of the
BoardSupport object must be manually
assigned.
initializes the boardSupportObj = soc.sdk.BoardSupport(name,referenceBoardSupport,folder,'initialize')BoardSupport object based on the input
referenceBoardSupport.
Properties
Methods
Version History
Introduced in R2019b