QUARC Data Acquisition Card Support QUARC Menu navigation bar

Table of Contents > QUARC > User's Guide

QUARC MATLAB Functions

QUARC provides a whole suite of functions for using the features of QUARC from MATLAB scripts. There are functions for configuring QUARC, controlling real-time code, getting information about a model, managing remote targets, accessing hardware, communications, etc.

The Configuration and Validation functions provided by QUARC give you the ability to get information about the installation of QUARC such as the version, as well as configure the default preferences for QUARC and for individual models.

QUARC provides a full suite of functions for building, downloading, running and stopping real-time code, as well as remotely managing that code on the target system. These functions are grouped under the Target Interaction and Simulation category.

QUARC Error Handling functions are usesful for interpreting error codes and issuing error messages. These functions should not normally be necessary, since QUARC generally throws an exception with a suitable message when an error occurs, but it can be useful when developing S-functions or when an error code is retrieved.

QUARC also provides functions for reading input devices to handle situations where the commands that come with MATLAB do not provide that functionality.

The other important set of functions QUARC provides is the Hardware suite. The hardware must be installed on the machine that is running MATLAB. The functions are generic and are not tied to a particular data acquisition card.

QUARC also provides a whole suite of functions for communicating with real-time code, devices or even other MATLAB sessions right from a MATLAB script! Called the "Stream" functions, these functions are generic and are not tied to a particular communication protocol. Serial, TCP/IP, UDP and other protocols are all supported from the same set of functions!

The QUARC functions are both grouped by category and ordered alphabetically. Refer to one of the links listed below for information on the functions provided:

 

navigation bar