Skip to Main Content Skip to Search
Product Documentation

Getting Started

Overview

Embedded Coder software provides a connection between MATLAB and the VisualDSP++ IDE to enable you to access the processor from MATLAB. You can, manipulate data on the processor, and manage projects within the IDE, while simultaneously utilizing the MATLAB tools of numerical analysis and simulation. Using Embedded Coder software, you can perform the following tasks, and others related to Model-Based Design:

Embedded Coder software connects MATLAB software and Simulink software with Analog Devices VisualDSP++ integrated development and debugging environment from Analog Devices. Embedded Coder software enables you to use MATLAB and Simulink software to debug and verify embedded code running on all Analog Devices DSPs that VisualDSP++ software supports, such as the Analog Devices Blackfin, Analog Devices SHARC and Analog Devices TigerSHARC processor families.

Embedded Coder software includes an IDE Project Generator component. With the IDE Project Generator component, you can generate a complete project for the VisualDSP++ IDE from your Simulink software models. You use Embedded Coder software to generate generic ANSI C code projects for VisualDSP++ software from models. You can then build and run these projects on Blackfin, SHARC, and TigerSHARC processors.

The following list suggests some of the uses for the capabilities of the software:

Software Structure and Components

Embedded Coder software comprises components—the IDE Automation Interface component, the IDE Project Generator component, and the Verification component. The IDE Automation Interface component enables communication between MATLAB software and Embedded Coder software. The IDE Project Generator component leverages Simulink software and lets you build models, simulate them, and generate code from the models directly to the processor.

The Verification component offers capabilities that help you use Model-Based Design to validate and verify your projects. With the Verification component, you can simulate algorithms and processes in Simulink models and concurrently on your processor. Comparing the results helps verify the fidelity of you model or algorithm code.

IDE Automation Interface

The IDE Automation Interface component allows you to use Embedded Coder functions and methods to communicate with the VisualDSP++ IDE to perform the following tasks:

The Debug Component of IDE Automation Interface includes methods and functions for project automation, debugging, and data manipulation.

IDE Project Generator

The IDE Project Generator component comprises methods that utilize the VisualDSP++ API to create projects in VisualDSP++ software and generate code with Simulink Coder and Embedded Coder software. With the interface, you can do the following:

Verification

Verifying your processes and algorithms is an essential part of developing applications. The components of Embedded Coder software combine to provide the following verification tools for you to apply as you develop your code:

Software Requirements

For detailed information about the software and hardware required to use Embedded Coder software, refer to the Embedded Coder system requirements areas on the MathWorks Web site:

Installation and Configuration

  1. Install VisualDSP++ according to the instructions provided with that software.

  2. Right-click MATLAB in the Windows Programs menu and select Run as administrator.

  3. Enter adivdspsetup on the MATLAB command line.

  4. Use Browse to locate the system folder for Analog Devices VisualDSP++. This action registers the Embedded Coder with that IDE.

  5. Confirm that the installation works by entering IDE_Obj = adivdsp on the MATLAB command line. This action creates an IDE handle object for VisualDSP++ in MATLAB, and starts VisualDSP++.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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