Main Content

addNewReset

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

Add new reset to hardware

Syntax

resetObj = addNewReset(hardwareObj,name)

Description

resetObj = addNewReset(hardwareObj,name) creates a new soc.sdk.Reset object, with the Name property set to name, and adds the new object to the soc.sdk.Hardware object.

Input Arguments

expand all

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

Name of the reset on the hardware board.

Example: "MyReset"

Data Types: string | char

Output Arguments

expand all

A soc.sdk.Reset object that defines a reset available on the hardware.

Version History

Introduced in R2019b