Main Content


Class: soc.sdk.BoardSupport
Package: soc.sdk

Get profiler objects in the board support object

Since R2019b


profilerObjs = getProfiler(boardSupportObj)
profilerObjs = getProfiler(boardSupportObj,"mapped")
profilerObjs = getProfiler(boardSupportObj,"mapped",hardwareObj)
profilerObjs = getProfiler(boardSupportObj,"unmapped")
profilerObjs = getProfiler(boardSupportObj,"reference")
profilerObjs = getProfiler(boardSupportObj,"name",name)


profilerObjs = getProfiler(boardSupportObj) returns all soc.sdk.Profiler objects mapped to soc.sdk.BoardSupport object or reference hardware board.

profilerObjs = getProfiler(boardSupportObj,"mapped") returns all the Profiler objects mapped to BoardSupport object.

profilerObjs = getProfiler(boardSupportObj,"mapped",hardwareObj) returns all Profiler objects mapped to the Target object and soc.sdk.Hardware object.

profilerObjs = getProfiler(boardSupportObj,"unmapped") returns all Profiler objects only mapped to the reference board and can be mapped to the BoardSupport object.

profilerObjs = getProfiler(boardSupportObj,"reference") returns all Profiler objects mapped to the reference board of the BoardSupport object.

profilerObjs = getProfiler(boardSupportObj,"name",name) returns the Profiler object with Name property equal to the name argument.

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.

soc.sdk.Hardware object mapped to the soc.sdk.BoardSupport object.

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 or cell array of Profiler objects.

Data Types: cell

Version History

Introduced in R2019b