Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

 

Control Design

Description Topics

Embedded Software Testing and Implementation

Using the system model and Real-Time Workshop, real-time code for testing, validation, and embedded implementation on the production target processor can be automatically generated. As it is created, the code is automatically optimized for fast execution and efficient use of memory. Automatically generating code from the system model avoids errors due to manual translation of the model into code, and saves time, allowing software developers to focus on more demanding tasks.


Simulink models, like the one shown above, provide a specification from which real-time software is automatically generated using Real-Time Workshop.

The MathWorks provides a turnkey software environment called xPC Target for real-time prototype testing, calibration, and validation of this automatically generated code using a PC-based hardware target system. xPC Target includes a real-time kernel, device drivers, and all the support software needed to create a rapid control prototyping system for real-time software testing and validation. It can also be used to provide hardware-in-the-loop capability, using code generated automatically from the physical system model. Hardware-in-the-loop testing allows the designer to simulate the real-time behavior and characteristics of their physical system, so that prototype or production control system software can be tested without the need for the actual hardware or operational environment. For embedded system designers who prefer an integrated capability, The MathWorks has a fully tested, custom configured, PC-based target hardware system.

When the embedded software has been fully tested in real time, it can be implemented on the production target processor. Using Real-Time Workshop Embedded Coder, you can tailor the embedded software to specific hardware or software target platforms by defining interfaces and code formats and incorporating device drivers. You can then automatically reuse that configuration information each time code is generated. The MathWorks also has preconfigured targeting packages that can help you target the automatically generated code to run in several embedded hardware and software environments. When required, the automatically generated code can be further tested using standard software engineering and testing tools and practices, ensuring high-quality, high-integrity software for demanding safety-critical applications. Finally, you can automatically generate documentation for the entire design from the information contained in the model and output it in common documentation formats.

From proof-of-concept to target embedded platform implementation, MathWorks products provide a complete environment for Model-Based Design. For an evaluation of products that address your control system design needs, contact your local MathWorks representative today.

System Integrator Seminar:

Rapid Prototyping, and Hardware-in-the-Loop Using Simulink, Stateflow and xPC Target

Next

Contact sales
Trial software
E-mail this page
2007 Simulink World Tour
Presentations and demos available.

ABB

"Our system engineers can program, simulate, and verify the AC 800PEC controller's regulation software very rapidly in MATLAB and Simulink."
- Fritz Wittwer
Learn to Use Simulink through this getting started video example