Main Content

Custom Targets

A custom target is a software package that you create to deploy MATLAB® and Simulink® designs to target hardware. Using the package, you can perform tasks to optimize, prototype, verify, and deploy an application to your hardware. This table lists tasks that you can perform.

Task See
Generate code for a specific processor.

Customize System Target Files

Run-Time Environment Configuration

Optimize generated code by using a processor-specific code-replacement library.Code Replacement
Integrate real-time operating systems and device drivers.

Device Drivers

Build, deploy, download, and run the application on target hardware.

Build Process

Tune parameters and monitor target application signals during an external mode simulation.

External Mode Simulation by Using XCP Communication

Customize XCP Server Software

Perform code execution profiling through a processor-in-the-loop (PIL) simulation.

Code Execution Profiling with SIL and PIL (Embedded Coder)

Set Up PIL Connectivity by Using target Package (Embedded Coder)

Test numerical equivalence between your MATLAB code or Simulink model and the generated code by running a PIL simulation.

Set Up PIL Connectivity by Using target Package (Embedded Coder)

Configure and Run PIL Simulation (Embedded Coder)

You can also create custom targets that are based on MathWorks® reference targets. For example, see:

Related Topics