Custom Targets
A custom target is a software package that you create to deploy MATLAB® and Simulink® designs to target hardware. Using the software package, you can perform tasks to
optimize, prototype, verify, and deploy an application to your hardware. This table lists
tasks that you can perform by using target
classes and functions.
Task | See |
---|---|
Register new hardware devices and hardware boards for Hardware Implementation settings. | |
Build a target application using a CMake-based toolchain. | |
Deploy, download, and run an application on target hardware. | |
Tune parameters and monitor target application signals during an external mode simulation. | Set Up External Mode Connectivity Between Simulink and Target Hardware |
Test numerical equivalence between your MATLAB code or Simulink model and the generated code by running a processor-in-the-loop (PIL) simulation. | Set Up PIL Connectivity by Using Target Framework (Embedded Coder) Configure and Run PIL Simulation (Embedded Coder) |
Perform code execution profiling through a PIL simulation. | Set Up PIL Connectivity by Using Target Framework (Embedded Coder) Create Execution-Time Profile for Generated Code (Embedded Coder) |
This table lists additional tasks that you can perform alongside a custom target defined
by target
classes and functions.
Task | See |
---|---|
Generate or register a main file to schedule the generated code | Deploy Applications to Target Hardware (Embedded Coder) Model Multicore Concurrent Tasking Application (Embedded Coder) Target operating system (Embedded Coder) Generate Source and Header Files with a Custom File Processing (CFP) Template (Embedded Coder) |
Register build hooks. | |
Optimize generated code by using a processor-specific code-replacement library. | Code Replacement |
Integrate real-time operating systems and device drivers. | |
Define a custom system target file with hooks and custom settings to add target-specific actions to the build process. |
You can also create custom software for ARM® processors, which is based on MathWorks® reference targets. For example, see:
ARM Cortex-A Processors (Embedded Coder)
ARM Cortex-M Processors (Embedded Coder)