target.MainFunction Class
Namespace: target
Provide C and C++ dependencies for main
function of target
hardware application
Since R2020b
Description
Use the target.MainFunction
class to provide main
function dependencies for an application main
function that runs on your
target hardware. For example, C and C++ initialization and termination code,
include
preprocessor directives, and specification of
main
function arguments for the application.
To create a target.MainFunction
object, use the target.create
function.
Properties
Examples
Version History
Introduced in R2020b
See Also
target.create
| target.Board
| target.APIImplementation
Topics
- Set Up PIL Connectivity by Using Target Framework (Embedded Coder)