Target Platform Device Customization
For your target device, select a system target file that provides the code generator with information about the target platform and required code features. You can also:
Use the Target Framework to extend the range of supported hardware.
Configure the code generator to use code replacement libraries for functions and operators.
Namespaces
target | Manage target hardware and build tool information |
Classes
target.Alias | Create alternative identifier for target object |
target.LanguageImplementation | Provide C and C++ compiler implementation details |
target.Object | Base class for target types |
target.Processor | Provide target processor information |
Functions
target.add | Add target object to internal database |
target.clear | Clear all target objects from internal database (Since R2023a) |
target.create | Create target object |
target.export | Export target object data |
target.get | Retrieve target objects from internal database |
target.remove | Remove target object from internal database |
target.update | Update target objects in internal database (Since R2023a) |
target.upgrade | Upgrade existing definitions of hardware devices |
Topics
- Compare System Target File Support Across Products
Evaluate system target file support by product, code style, and generated code features.
- Configure a System Target File
Select and configure a solver and a system target file.
- Configure STF-Related Code Generation Parameters
Configure model parameters that relate to GRT, ERT, or ERT-based system target files for code generation.
- Configure Run-Time Environment Options
Set model simulation and code generation options for development and deployment run-time environments: MATLAB® development computer, production hardware, and test hardware.
- Register New Hardware Devices
Extend the range of supported hardware by registering new devices.
- Configure Language Standard for Target System
Configure standard library extensions that the code generator uses for math operations.
- Replace Code Generated from Simulink Models
This example shows how to replace generated code by using a code replacement library.