Real-Time Workshop User's Guide | ![]() ![]() |
Tutorial: Getting Started with External Mode Using GRT
This section provides step-by-step instructions for getting started with external mode. This tutorial assumes you have basic familiarity with MATLAB and Simulink. In addition, you should read Chapter 1, Introduction to the Real-Time Workshop. Read Getting Started: Basic Concepts and Tutorials and do the Quick Start Tutorials before proceeding.
The example presented uses the generic real-time (GRT) target. The example does not require any hardware other than the computer on which you run Simulink and the Real-Time Workshop. The generated executable in this example runs on the host computer under a separate process from MATLAB and Simulink. This technique is called self-targeting.
The procedures for building, running, and testing your programs are almost identical in UNIX and PC environments. The discussion notes differences where applicable.
For a more thorough description of external mode, including a discussion of all the options available, see Using the External Mode User Interface.
![]() | Introduction | Part 1: Setting Up the Model | ![]() |