Target Support Package 4.1
Product Description
- Introduction and Key Features
- Working with Target Support Package
- Real-Time Deployment
- Device Drivers for Simulation and Code Generation
- Code Optimization
- Supported Hardware Devices and Vendors
Code Optimization
You can manually optimize the generated code in the third-party software environment. Alternatively, for computationally intensive real-time applications that demand optimal execution speed and a high degree of accuracy, you can optimize the code by replacing corresponding portions of your Simulink diagram with blocks from vendor-specific libraries that call optimized assembly routines. These blocks simulate bit-true in Simulink. Target Support Package produces function calls to assembler implementations of these blocks in the generated code, which increases the efficiency and performance of critical portions of your design as compared with equivalent ANSI C code.
Target Function Library
Together with Embedded IDE Link, you can also use Target Function Libraries to obtain target optimized code. With Target Function Libraries, the ANSI C code generated for certain operators and functions is replaced by prebuilt target-optimized code. You do not have to add or replace blocks as described above because Target Function Libraries work directly with standard Simulink blocks, Stateflow charts, and Embedded MATLAB functions.
Store