Real-Time Workshop User's Guide    

Chapter Summary

Chapter 1, Introduction to the Real-Time Workshop introduces basic concepts and terminology of the Real-Time Workshop. It also provides information linking basic real-time development tasks to corresponding sections of this book. The Getting Started: Basic Concepts and Tutorials section in this chapter will get you working with hands-on exercises.

Chapter 2, Technical Overview is a quick introduction to the rapid prototyping process, the open architecture of the Real-Time Workshop, and the automatic program building process.

Chapter 3, Code Generation and the Build Process describes the automatic program building process in detail. It discusses all code generation options controlled by the Real-Time Workshop's graphical user interface. Topics include data logging, inlining and tuning parameters, interfacing parameters and signals to your code, code generation from subsystems, and template makefiles. The chapter also summarizes available target configurations.

Chapter 4, Generated Code Formats compares and contrasts targets and their associated code formats. This include the real-time, real-time malloc, embedded C, and S-Function code formats.

Chapter 5, External Mode contains information about external mode, a simulation environment that supports on-the-fly parameter tuning, signal monitoring, and data logging.

Chapter 6, Program Architecture discusses the architecture of programs generated by the Real-Time Workshop, and the run-time interface.

Chapter 7, Models with Multiple Sample Rates describes how to handle multirate systems.

Chapter 8, Optimizing the Model for Code Generation discusses techniques for optimizing your generated programs.

Chapter 9, Real-Time Workshop Embedded Coder discusses the structure and operation of programs generated using the Real-Time Workshop Embedded Coder. The Real-Time Workshop Embedded Coder is designed for generation of code for embedded systems.

Chapter 10, The S-Function Target explains how to generate S-Function blocks from models and subsystems. This enables you to encapsulate models and subsystems and protect your designs by distributing only binaries.

Chapter 11, Real-Time Workshop Rapid Simulation Target discusses the rapid simulation target (RSIM), which executes your model in nonreal-time on your host computer. You can use this feature to generate fast, stand-alone simulations that allow batch parameter tuning and the loading of new simulation data (signals) from a standard MATLAB MAT-file without needing to recompile your model.

Chapter 12, Targeting Tornado for Real-Time Applications contains information that is specific to developing programs that target Tornado, and signal monitoring using StethoScope.

Chapter 13, Targeting DOS for Real-Time Applications contains information on developing programs that target DOS.

Chapter 14, Custom Code Blocks contains information about the Real-Time Workshop library, a collection of blocks and templates you can use to customize code generation for your application.

Chapter 15, Asynchronous Support describes the Interrupt Template library, which allow you to model synchronous/asynchronous event handling.

Chapter 16, Real-Time Workshop Ada Coder discusses the Real-Time Workshop Ada Target, which generates Ada code from your models. The Ada Coder is a separate product from the Real-Time Workshop.

Chapter 17, Targeting Real-Time Systems discusses information of interest to developers who want to develop programs for custom targets. This includes developing device driver blocks, customizing system target files and template makefiles, combining multiple models into a single executable, and APIs for external mode communication, signal monitoring, and parameter tuning.

Appendix A lists blocks whose use is restricted due to dependency on absolute time.

Appendix B is a glossary that contains definitions of terminology associated with the Real-Time Workshop and real-time development.


 Preface Related Products