Main Content

addNewProfiler

Class: soc.sdk.BoardSupport
Namespace: soc.sdk

Add new profiler to BoardSupport object

Syntax

profilerObj = addNewProfiler(boardSupportObj,name)

Description

profilerObj = addNewProfiler(boardSupportObj,name) creates a soc.sdk.Profiler object and adds the object to the soc.sdk.BoardSupport object.

Input Arguments

expand all

BoardSupport object, specified as an soc.sdk.BoardSupport object, defines a hardware board that you can use with the SoC Blockset™ features.

A descriptive name assigned to the Name property of the Profiler object.

Example: "MyProfiler"

Data Types: string | char

Output Arguments

expand all

soc.sdk.Profiler object that defines the specification and source files of a profiler used in the SoC Blockset.

Version History

Introduced in R2019b