Start of trail End of trail navigation bar

Table of Contents

Dynamic Router

Deprecated

This block has been deprecated because the Simulink Selector block is now capable of dynamically selecting elements from an array based on an input port by choosing an Index mode of Zero-based and an Index Option of Index vector (port).

Dynamically selects the elements from the input array.

Library

QUARC Targets Deprecated/Discontinuities

Description

Dynamic Router

The Dynamic Router block enables the user to select elements from the input array during simulation.

Limitations

Warning The size of index array and the content of input array are not tunable during simulation.

Input Ports

input array

The array whose elements will be selected.

index array

The array stores the indices to the input array.

Output Ports

output

Outputs the resulted array. If any index in the index array exceeds the size of the input array, the corresponding element in output array will be -1.

error

Outputs 0 if the operation is successful, and output is valid, otherwise outputs -1.

Parameters and Dialog Box

Dynamic Router

The Dynamic Router block has no parameters.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

 

navigation bar