Main Content

addNewBaseRateTrigger

Class: matlabshared.targetsdk.BaremetalScheduler
Namespace: matlabshared.targetsdk

Add new base rate trigger to bare metal scheduler

Syntax

obj = addNewBaseRateTrigger(h,baseRateTriggerName)

Description

obj = addNewBaseRateTrigger(h,baseRateTriggerName) creates a new BaseRateTrigger object obj, with the Name property set to the string triggerName and adds the new object to the BareMetalScheduler object h.

An error is thrown if the new BaseRateTrigger object cannot be added.

Input Arguments

expand all

Handle to the object representing a bare metal scheduler for a target.

Name of the BaseRateTrigger object, specified as a string.

Data Types: char

Output Arguments

expand all

Handle to the object representing the base rate trigger for your target’s scheduler.

Version History

Introduced in R2015a