Real-Time Windows Target

Getting Started

Preface

Required Products

MATLAB

Simulink

Real-Time Workshop

C Compiler

Related Products

Stateflow

Stateflow Coder

Dials &Gauges

DSP Blockset

Fixed-Point Blockset

Using This Guide

Conventions

Introduction

What Is Real-Time Windows Target?

Features

Real-Time Kernel

Real-Time Application

Signal Acquisition and Analysis

Parameter Tuning

Hardware Environment

PC Compatible Computer

Input/Output Driver Support

Software Environment

Nonreal-Time Simulation

Real-Time Execution

Development Process

System Concepts

Simulink External Mode

Data Buffers and Transferring Data

Installation and Configuration

System Requirements

Hardware Requirements

Software Requirements

Real-Time Windows Target

Getting or Updating Your License

Installing from a CD

Installing from the Web

Files on the Your Computer

Initial Working Directory

Setting the Working Directory from the Desktop Icon

Setting the Working Directory from Within MATLAB

Third Party C Compiler

Real-Time Windows Target Kernel

Installing the Kernel

Uninstalling the Kernel

Testing the Installation

Running the Model rtvdp.mdl

Displaying Status Information

Detecting Excessive Sample Rates

Demo Library

Using Real-Time Windows Target

Basic Procedures

Simulink Model

Creating a Simulink Model

Entering Simulation Parameters for Simulink

Entering Scope Properties for Signal Tracing

Running a Nonreal-Time Simulation

Real-Time Application

Entering Simulation Parameters for
Real-Time Workshop

Entering Scope Properties for Signal Tracing

Creating a Real-Time Application

Entering Additional Scope Properties for Signal Tracing

Running a Real-Time Application

Signal Logging to the MATLAB Workspace

Entering Scope Properties

Entering Signal and Triggering Properties

Plotting Logged Signal Data

Signal Logging to a Disk Drive

Entering Scope Properties

Entering Signal and Triggering Properties

Entering Data Archiving Parameters

Plotting Logged Signal Data

Parameter Tuning

Types of Parameters

Changing Model Parameters

Advanced Procedures

I/O Boards

I/O Board Dialog Box

ISA-Bus Board

PCI-Bus Board

Compact PCI Board

PCMCIA Board

I/O Driver Blocks

Real-Time Windows Target Library

Simulink Library

Analog Input Block

Analog Output Block

Digital Input Block

Digital Output Block

Output Signals from an I/O Block

Variations with Channel Selection

Using Analog I/O Drivers

I/O Driver Characteristics

Normalized Scaling for Analog Inputs

Troubleshooting

Plots Not Visible in Simulink Scope Block

Compiler Error Message

Failure to Connect to Target

Sample Time Too Fast

S-Functions Using Math Functions

Reference

Supported I/O Boards

ISA Bus

PCMCIA Bus

PCI Bus

Compact PCI

Standard Devices

Custom I/O Driver Blocks

Source Code for DOS Target Drivers

Incompatibility with Win32 API Calls

Nonsupported C Functions

Supported C Functions


 Getting Started