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.
Displays a time-varying image in a Matlab figure or on axes within a Matlab GUI. |
|
Plots a polar graph in a separate window or on axes within a Matlab GUI. |
|
Prints formatted text in a separate window or on a uicontrol within a Matlab GUI. |
|
Plots a Y versus Time graph in a separate window or on axes within a Matlab GUI. |
|
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.
Logs messages to the model log file, if any has been specified. |
|
Displays the value of a string signal. |
|
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.
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).
Displays the message in a dialog on the host machine. |
|
Stops the model and issues the given error message. It can also interpret QUARC error codes and issue an appropriate message. |
|
Stops the model and displays the error message in a dialog. |
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.