Custom Target Optional Features - MATLAB & Simulink (original) (raw)

Main Content

This section describes how to configure a custom embedded target to support these optional features.

The required configuration changes are modifications to your system target file, and in some cases also modifications to your template makefile (TMF) or your custom static main program.

The API for system target file callbacks provides a functionSelectCallback for use in system target files.SelectCallback is associated with the target rather than with its individual options. If you implement a SelectCallback function for a target, it is triggered whenever the user selects the target in the System Target File Browser.

The API provides the functions slConfigUIGetVal, slConfigUISetEnabled, and slConfigUISetVal for controlling custom target configuration options from a user-written SelectCallback function. (For function descriptions and examples, see the function reference pages.)

The general requirements for supporting one of the optional features include:

For an example that shows how to configure custom target optional features, see Customize System Target Files.

See Also

Topics