Main Content

addNewProcessorCore

Class: soc.sdk.Hardware
Package: soc.sdk

Add new processor core to Hardware object

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.

Introduced in R2019b