In , the model is compiled into a real-time executable.
QUARC (Quanser Real-Time Control) is a powerful extension for
Type simulink in the MATLAB Command Window. Look for the library in the directory tree. Step 2: Configure the Hardware quarc library simulink
– When using HIL blocks, ensure the watchdog timeout is set appropriately for your application—too short a timeout can cause premature simulation termination.
QUARC eliminates the complexity of network programming with stream-based communication blocks that support multiple protocols (TCP/IP, UDP, Serial, Shared Memory, Bluetooth, and SPI/I2C): In , the model is compiled into a real-time executable
Configure your channel limits under the Analog Input/Output tabs to protect your hardware from over-voltage. Step 3: Design the Control Loop
: If MATLAB is installed before QUARC, it is typically configured automatically. Manual Setup Step 2: Configure the Hardware – When using
Deploys models to Windows real-time targets, Linux, or embedded systems like Raspberry Pi and National Instruments (NI) platforms. 2. Core Blocks and Architecture
– Simulink acts as the comprehensive front-end for generating real-time code, tuning parameters, and visualizing data. Unlike WinCon, where plotting required a separate application (WinCon Server), QUARC allows Simulink sink blocks—including Scopes and Displays—to work directly with the real-time code.
Connects Simulink directly to data acquisition (DAQ) boards, sensors, and actuators.
For advanced robotics and computer vision applications, QUARC provides blocks to interface with media devices.