In the world of control systems and robotics, the transition from a Simulink simulation to a working physical prototype is often fraught with complexity. This is where the (by Quanser) becomes an indispensable tool.
: These allow you to interface with data acquisition (DAQ) cards. A key feature is the ability to swap out the physical hardware for a model by changing a single parameter in the block. Communications Blockset
Place an block to sample your encoder or analog sensor.
Set the System Target File to a QUARC target, such as quarc_win64.tlc for Windows real-time execution. Step 4: Build, Connect, and Run quarc library simulink
While the model runs live on the physical hardware, you can change gains, thresholds, and signal inputs inside the Simulink diagram. The changes take effect instantly without restarting or recompiling the code. Live Data Visualization
Traditional real-time control workflows often involve a disjointed process where a controller is designed and simulated in one environment, then painstakingly recoded into a low-level language like C for a DSP or microcontroller. This process is error-prone, time-consuming, and breaks the creative flow of algorithm development.
: Enables online parameter tuning and real-time data monitoring directly within the Simulink interface while the model is executing on the target hardware. In the world of control systems and robotics,
Simulink Scopes, Displays, and Dashboards update in real-time with data streaming straight from physical sensors. Step-by-Step Workflow: Creating a QUARC Project
Drag an block into your model to capture positional feedback from your plant.
Click the button (or press Ctrl + B ). QUARC compiles your graphical model into highly optimized C code. Click Connect to Target . A key feature is the ability to swap
When you build a model using QUARC, it leverages MATLAB Coder and Simulink Coder to generate production-quality C code. QUARC then compiles this code and runs it as a real-time process on a target machine—either your local Windows PC or a remote real-time operating system (RTOS) like Linux RT. Core Capabilities of QUARC
Built-in support for SPI, I2C, CAN bus, Modbus, and OPC UA.
Deploying a controller using QUARC follows a structured, intuitive workflow: