Engee documentation

Goto

Transfers the Input of the block to the block From.

blockType: Goto

Path in the library:

/Basic/Signal Routing/Goto

Description

Block Goto transmits its input signal to the corresponding blocks From. The Input can be a real or complex signal, or a vector of any data type. Blocks From and Goto they allow you to transmit a signal from one block to another without actually connecting them.

Block Goto can transmit its input signal to more than one unit From, although the block From can receive a signal from only one unit Goto. The input signal of this unit Goto passed to blocks From connected to it as if the blocks were physically connected.

Blocks Goto and blocks From are matched using tags.

The tag visibility parameter determines where the blocks are From can access the signal.

Ports

Input

# IN_1 — Input signal
scalar | vector | the matrix | multidimensional array

Details

The input signal that will be transmitted to the corresponding block From in the form of a scalar, vector, matrix or multidimensional array.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128, Bool, Fixed, bus

Complex numbers support

Yes

Parameters

Main

# Goto tag — block ID
String

Details

Block ID Goto. This parameter identifies the block Goto, the scope of which is defined in the parameter Tag visibility.

Default value

A

Program usage name

GotoTag

Tunable

No

Evaluatable

No

# Tag visibility — scope of the block tag Goto
local | global

Details

Scope of the block tag Goto in the form of local or global:

  • local (by default) — blocks From and Goto those using the same tag must be in the same subsystem. The name of the local tag is enclosed in square brackets ([]).

  • global — blocks From and Goto Those using the same tag can be anywhere in the model, except for places that span the boundaries of the subsystem.

The rule that block connections FromGoto cannot cross subsystem boundaries, has the following exception. Block Goto, connected to the status port in one conditionally executable subsystem, is visible to the block From inside another conditionally executable subsystem.

Use local tags when blocks Goto and From, using the same tag name, are in the same subsystem. You should use global tags when blocks Goto and From, using the same tag name, are located in different subsystems. When you define a tag as global all uses of this tag access the same signal.
Values

local | global

Default value

local

Program usage name

TagVisibility

Tunable

No

Evaluatable

No