Main Content

addNewClock

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

Add new clock to the hardware

Syntax

clockObj = addNewClock(hardwareObj,name)

Description

clockObj = addNewClock(hardwareObj,name) creates a new soc.sdk.Clock 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 clock on the hardware board, specified as a string or character vector.

Example: "MyClock"

Data Types: string | char

Output Arguments

expand all

A soc.sdk.Clock object that defines a clock available on the hardware.

Introduced in R2019b