Engee documentation

Function-Call Subsystem

A subsystem whose execution is provided by an external function call.

blockType: SubSystem

Path in the library:

/Basic/Ports & Subsystems/Function-Call Subsystem

Description

Block Function-Call Subsystem It is a pre-configured block. Subsystem, designed to create a subsystem that executes when a function call event is received.

function call subsystem 1

Use Function-Call Subsystem for modeling purposes:

  • planning the execution order of the model components;

  • control the execution speed of the model components.

For more information, see Function-Call (function call subsystem).

Ports

Input

# In1 — the input signal to the subsystem
scalar | vector | the matrix

Details

Block placement In1 The subsystem adds an external input port. The port label matches the block name. In1.

Use blocks In1 to receive signals from the local environment.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

No

# Trigger — function call event
scalar

Details

Block placement Trigger, in which for the parameter Trigger Type the value is set function-call, adds an external input port Trigger to the subsystem, which receives function call events.

Data types

Float64

Complex numbers support

No

Output

# Out1 — the output signal from the subsystem
scalar | vector | the matrix

Details

Block placement Out1 The subsystem adds an external output port. The port label matches the block name. Out1.

Use blocks Out1 to send signals to the local environment.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

No

Additional options

C code generation: Yes

Verilog code generation: Yes