Signal Routing Blocks Source Blocks navigation bar

Table of Contents > QUARC > Blocks > Blocks - By Category > Block Categories

Sink Blocks

The sink blocks provide greater flexibility for displaying data, streaming data to disk and for issuing errors from a model. Many of these blocks require that the model be connected in external mode.

Figures

The Figure blocks allow data to be visualized in a MATLAB Figure window or within the axes of a MATLAB GUI. These blocks are convenient for creating full-featured GUIs using MATLAB's GUIDE tool. The blocks require that the Simulink model be connected in external mode but the Simulink model can be hidden from view and loaded automatically by the GUI. Refer to the Creating MATLAB GUI's page in the QUARC documentation.

Display Image

Displays a time-varying image in a Matlab figure or on axes within a Matlab GUI.

Polar Figure

Plots a polar graph in a separate window or on axes within a Matlab GUI.

Text Figure

Prints formatted text in a separate window or on a uicontrol within a Matlab GUI.

Time Figure

Plots a Y versus Time graph in a separate window or on axes within a Matlab GUI.

XY Figure

Plots an X-Y graph in a separate window or on axes within a Matlab GUI. This implementation is much more efficient than the XY Graph block that comes with Simulink. It is also capable of plotting more than one curve on the same plot.

To Host

The To Host blocks allow data to be recorded on the host rather than on the target. The blocks require that the Simulink model be connected in external mode.

Log Message

Logs messages to the model log file, if any has been specified.

String Display

Displays the value of a string signal.

To Host File

Writes the time and its input to a MAT file on the host machine.

To Target

The To Target blocks allow data to be recorded on the target.

File Write

Writes the time and its input to a MAT file on the target machine.

Error Handling

The Error Handling blocks may be used to process errors during model execution. For example, the Stop with Error block allows the model to be stopped in response to an error and for the error message to be displayed on the host (either through external mode in Simulink or a QUARC Console).

Show Message on Host

Displays the message in a dialog on the host machine.

Stop with Error

Stops the model and issues the given error message. It can also interpret QUARC error codes and issue an appropriate message.

Stop with Message

Stops the model and displays the error message in a dialog.

 

navigation bar