Algorithm Export Target Summary

Code Generation Options

The Algorithm Export (AE) target is an extension of the Real-Time Workshop® Embedded Coder™ embedded real-time (ERT) target configuration. The AE target inherits the code generation options of the ERT target, as well as the general code generation options of the Real-Time Workshop® product. These options are available under Real-Time Workshop, in the tree on the Configuration Parameters dialog box; they are documented in the Real-Time Workshop documentation and the Real-Time Workshop Embedded Coder documentation.

Some code generation options of the ERT target are not relevant to the AE target, and are either unsupported, or restricted in their operation, by the AE target. See Restrictions below for details.

The only target-specific option for AE target is Use prebuilt (static) RTW libraries. This check box option (selected by default) saves a considerable amount of time during the build process, as the libraries do not need to be recompiled every time.

Restrictions

Certain ERT code generation options are not supported by the AE target. If these options are selected, the AE target either ignores the option or issues an error message during the build process. AE Target Restricted Code Generation Options summarizes these restricted options.

AE Target Restricted Code Generation Options

Option

Restriction

MAT-file logging

Ignored if selected; build process proceeds

Create Simulink (S-function) block

Error if selected; build process terminates

Generate ASAP2 file

Ignored if selected; build process proceeds

External mode

Error if selected; build process terminates

You must not include driver blocks in your model for Algorithm Export. The AE target is designed to generate only the code that implements the algorithm of your model or subsystem, without any overhead for PIL host/target communications or other operations extraneous to the model, so you should not be including driver blocks.

  


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