Main Content

matlabshared.targetsdk.BaseRateTrigger Class

Namespace: matlabshared.targetsdk

Trigger that runs base rate task in generated code

Description

Use the BaseRateTrigger class to represent the trigger that runs the base rate task in the generated code.

Creation

H = matlabshared.targetsdk.BaseRateTrigger(triggerName) creates a BaseRateTrigger object and sets the Name property to triggerName.

Input Arguments

expand all

Name of the BaseRateTrigger object, specified as a string.

This argument sets the Name property as a character vector.

Data Types: char | string

Properties

expand all

Name of the base rate trigger, specified as a character vector or string scalar.

Data Types: char | string

Name of the function that configures a base rate trigger, specified as a character vector or string scalar. The function is assumed to take no input arguments.

Data Types: char | string

Name of the function that enables a base rate trigger interrupt, specified as a character vector or string scalar. The function is assumed to take no input arguments.

Data Types: char | string

Name of the function that disables a base rate trigger, specified as a character vector or string scalar. The function is assumed to take no input arguments.

Data Types: char | string

Version History

Introduced in R2015a