Library Simulink: Quarc

Users can tune controller parameters on-the-fly and monitor signals in real-time through Simulink scopes while the model is executing on the target.

| Feature | Benefit | |---------|---------| | | Deterministic timing for control loops (as fast as 10–50 µs on some hardware). | | Direct hardware mapping | No manual coding of I/O – just drag and drop. | | Simulation to deployment | Same model works for offline simulation and real hardware. | | Monitoring | Live tuning of gains, logging data, and runtime visualization. | | Multi-platform | Supports Windows, Linux, and real-time targets like QNX (with additional Quanser hardware). | quarc library simulink

Quarc integrates with the standard Simulink 3D Animation toolbox but also provides its own visualization blocks. For academic labs teaching inverted pendulums or magnetic levitation, the ability to visualize the system state in a 3D virtual environment helps students debug their controllers before applying them to physical hardware (safety feature). Users can tune controller parameters on-the-fly and monitor

Under the hood, Quarc uses its own code generator. In benchmarks, it is generally faster and generates more compact code than the standard Simulink Coder for the specific targets it supports. It handles the real-time operating system (RTOS) scheduling (usually on VxWorks or real-time Linux patches) automatically. | | Simulation to deployment | Same model

Quarc is not a standalone software; it lives inside the Simulink Library Browser.