Main Content

addNewProcessorCore

Class: soc.sdk.Hardware
Namespace: soc.sdk

Add new processor core to Hardware object

Since R2019b

Syntax

processorCoreObj = addNewProcessorCore(hardwareObj,name)

Description

processorCoreObj = addNewProcessorCore(hardwareObj,name) creates a new soc.sdk.ProcessorCore object with Name property set to name and adds it to the soc.sdk.Hardware object.

Input Arguments

expand all

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

Display name of the processor core, specified as a string.

Example: "MyCore0"

Data Types: string | char

Output Arguments

expand all

An soc.sdk.ProcessorCore object that defines the properties of the processor core.

Version History

Introduced in R2019b