Switching In Target Connect navigation bar

Table of Contents

Switching Out

Executes a Function Call Subsystem when dynamically switching from this model to another model.

Library

QUARC Targets/Advanced/Dynamic Reconfiguration

Description

Switching Out

The Switching Out block executes the Function Call Subsystem attached to its output when dynamically switching from this model to another model. The Function Call Subsystem is not executed when terminating the model normally. This block is part of the dynamic reconfiguration facilities of QUARC which allow running models to be swapped for another model on-the-fly.

It is not necessary to place a Switching Out block in the diagram to support dynamic reconfiguration. If no dynamic reconfiguration blocks are present in the diagram, then the Support dynamic reconfiguration option must be checked on the Code Generation/QUARC tab of the Configuration Parameters dialog.

State information may be transferred from the model being switched out to the model being switched in using the State Output block. This block is typically placed within the Function Call Subsystem attached to the Switching Out block. Any transformations which need to be performed on the states written by the Switching Out block can also be done in the Function Call Subsystem. The transformed states may be read by the model being switched in using the State Input block.

Any number of Switching Out blocks may be placed in the diagram, although typically only one block is used. This block may also be placed in a referenced model.

Input Ports

This block has no input ports.

Output Ports

This block has a single output port to which a Function Call Subsystem should be attached. If the output is left unconnected then this block does nothing.

Parameters and Dialog Box

Switching Out

Active during normal simulation

Indicates whether this block should execute during normal simulation. If this option is not checked then the block will not call its Function-Call Subsystem during normal simulation. This parameter has no effect on generated code but it does affect the performance of normal simulations.

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.

See Also

 

navigation bar