Using Simulink    
Function-Call Generator

Execute a function-call subsystem a specified number of times at a specified rate.

Library

Signals & Systems

Description

The Function-Call Generator block executes a function-call subsystem (for example, a Stateflow state chart configured as a function-call system) at the rate specified by the block's Sample time parameter. To execute multiple function-call subsystems in a prescribed order, first connect a Function-Call Generator block to a Demux block that has as many output ports as there are function-call subsystems to be controlled. Then connect the outports of the Demux block to the systems to be controlled. The system connected to the first demux port executes first, the system connected to the second demux port executes second, and so on.

Data Type Support

A Function-Call block outputs a real signal of type double.

Parameters and Dialog Box

Sample time
The time interval between samples.
Number of iterations
Number of times to execute block per time step.

Characteristics

Direct Feedthrough
No
Sample Time
User-specified
Scalar Expansion
No
Dimensionalized
Yes
Zero Crossing
No


 From Workspace Gain