Skip to main content

Simulink - Quarc Library

Pulls live video frames from USB cameras or image sensors directly into Simulink for real-time computer vision processing.

Working with real-time systems can introduce specific execution errors. Here is how to handle the most common issues in QUARC:

Mark Thompson is a control systems engineer with over a decade of experience in real-time simulation and hardware-in-the-loop testing. This article was reviewed by Quanser Inc. for technical accuracy as of 2025. quarc library simulink

– Support a wide variety of data acquisition cards, including Quanser’s own Q4 and Q8 Hardware-in-the-Loop (HIL) boards, National Instruments PCI-6259, and many more.

Always place standard Simulink Saturation blocks immediately before your HIL Write blocks. This prevents sending dangerous over-voltage signals to your physical amplifiers and motors. Pulls live video frames from USB cameras or

The platform also supports fieldbus technologies such as EtherCAT, multimedia devices including Kinect sensors, and specialized robotics platforms like the QBot 2 autonomous ground robot. The QBot 2, for example, integrates QUARC with MATLAB and Simulink to enable users to develop controllers on a host computer and cross-compile them for the embedded Gumstix target on the robot.

Before you can run any "piece" of code on hardware, you must configure the Simulink model to use the QUARC real-time target. : Press Ctrl+E in Simulink. This article was reviewed by Quanser Inc

: It leverages Simulink Coder to automatically generate, compile, and download real-time code to the target processor. Key Library Blocks

In the fields of robotics, aerospace, and mechatronics, translating a theoretical control design into physical hardware is a major engineering challenge. High-fidelity simulations often fail to capture real-world complexities like sensor noise, communication latency, and actuator saturation.