Quarc Library Simulink May 2026
QUARC is widely considered the "gold standard" for real-time control prototyping within the MATLAB/Simulink environment, particularly in academic and high-end research settings.
Best Practices for Adoption
5.2 Streaming and Telemetry
- Hardware-in-the-Loop (HIL): Connect sensors and actuators directly to your Simulink diagram.
- Real-Time Synchronization: Ensure that the loop executes at precisely defined sample rates (e.g., every 0.001s).
- Streaming & Logging: Monitor signals in real-time using Simulink’s Scope or log data to MAT-files without interruption.
- Remote Control: Deploy models to a dedicated real-time target machine and interact with them from a host PC.
- Solution: Set the Simulink solver to fixed-step and ensure the step size matches the
Real-Time Synchronizeperiod. Do not use continuous solvers (e.g.,ode45) with real-time hardware.
HIL Timebase
: Used to ensure the model runs at a precise hardware clock rate. 4. Build and Run Once your model is assembled: quarc library simulink
No more manual I/O coding. Just add QUARC blocks to your Simulink model and run directly on hardware. QUARC is widely considered the "gold standard" for
Direct Hardware Support:
✅ Interface with a wide range of data acquisition cards (National Instruments, etc.), sensors, actuators, and Quanser plants (like the QUBE-Servo, Rotary Pendulum, and AERO). Solution: Set the Simulink solver to fixed-step and
Seamless Integration
: QUARC acts as an extension of Simulink, allowing you to run models in real-time on various targets—including 32-bit and 64-bit Windows and various embedded platforms—directly from the Simulink Development Environment .


















