Table of Contents
Dynamic Router
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
and an Index Option of .
MATLAB Command Line Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window: doc('Selector'); |
Dynamically selects the elements from the input array.
Library
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
qc_open_library('quarc_library_deprecated/Discontinuities')Description
The Dynamic Router block enables the user to select elements from the input array during simulation.
Limitations
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
The Dynamic Router block has no parameters.
Targets
Target Name |
Compatible* |
Model Referencing |
Comments |
---|---|---|---|
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
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 |
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.