Quarc Library Simulink

If you’re working on real-time control systems, hardware-in-the-loop (HIL) testing, or rapid prototyping in MATLAB/Simulink, you need to know about QUARC from Quanser.

: Based on Universal Resource Identifiers (URIs), allowing you to swap protocols (e.g., from Serial to TCP/IP) by changing a single parameter.

Pulls live video frames directly into Simulink for real-time computer vision and image processing tasks. quarc library simulink

Used to read analog/digital inputs (like encoder positions or voltage meters) and write outputs (like motor commands or PWM signals). Communications Blocks

: You can develop a model on your host PC and deploy it to a remote target (like a Quanser Qube or a Raspberry Pi) via a single click using the "Monitor and Tune" feature. Used to read analog/digital inputs (like encoder positions

Enables low-latency data streaming between different targets or between a host PC and an embedded target using TCP/IP, UDP, Shared Memory, or Serial protocols. Multimedia and Interfacing Blocks

Drag an block to capture encoder or analog sensor data. Multimedia and Interfacing Blocks Drag an block to

: If needed, run the following command in the MATLAB Command Window to add QUARC to the path: quarc_setup Use code with caution. Copied to clipboard Opening the Library : You can access the blockset via the Simulink Library Browser or by entering qc_open_library('quarc_library') in the command window.

Modify PID gains, signal sources, or parameters while the model is running on the hardware. Key Components of the QUARC Targets Library

The QUARC library transforms Simulink from a pure desktop simulation environment into a rugged, real-time deployment engine. By mastering the HIL configuration, understanding blockset optimization, and leveraging real-time data streaming, you can drastically reduce development cycles for everything from basic educational inverted pendulums to advanced industrial robotics.

: Allows users to replace a running model with a new one without interrupting the hardware's execution. Key Blocksets in the QUARC Library

Dogpack logo Continue in App

Continue in