xPC Target Demos

Introduction

The xPC Target demos are used to demonstrate the features of the xPC Target product. They are also M-file scripts that you can view to understand how to write your own scripts for creating and testing target applications.

There are two categories of xPC Target demos, general applications and drivers. The following lists the general application demos.

Description

Filename

Real-time parameter tuning and data logging

Parameter Tuning and Data Logging

Freerun display mode of anxPC Target scope of type host

Signal Tracing With a Host Scope in Freerun Mode

A software triggered xPC Target scope of type host

Signal Tracing Using Software Triggering

A signal triggered xPC Target scope of type host

Signal Tracing Using Signal Triggering

A scope triggered xPC Target scope of type host

Signal Tracing Using Scope Triggering

Signal tracing with an xPC Target scope of type target

Signal Tracing With a Target Scope

Pre- and posttriggering of an xPC Target scope of type host

Pre- and Post-Triggering of a Host Scope

Time- and value-equidistant data logging

Time- and Value-Equidistant Data Logging

Logging signal data to a file on the target PC

Data Logging With a File Scope

Frame signal processing

    Note   This demo requires Signal Processing Blockset™ software.

Frame Signal Processing

xPC Target software as a real-time spectrum analyzer

Spectrum Analyzer

The Driver demos category contains demos for a number of driver applications, including:

You can access xPC Target general application and driver demos through the MATLAB Command Window Demos tab. In this tab, double-click Links and Targets and then select xPC Target to list the available demo categories.

To Locate or Edit a Demo Script

  1. In the MATLAB Command Window, type

    which scfreerundemo

    The MATLAB interface displays the location of the M-file.

    D:\MATLAB\toolbox\rtw\targets\xpc\xpcdemos\scfreerundemo.m
  2. Type

    edit scfreerundemo

    The MATLAB interface opens the M-file in a MATLAB editing window.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS