Skip to Main Content Skip to Search
Product Documentation

rtw.connectivity.MakefileBuilder - Configure makefile-based build process

Syntax

rtw.connectivity.MakefileBuilder(componentArgs, targetApplicationFramework, exeExtension)

Description

ConstructorDescription
MakefileBuilderControl makefile-based build process.

Constructor Arguments
componentArgs rtw.connectivity.ComponentArgs
TargetApplicationFramework rtw.pil.RtIOStreamApplicationFramework (e.g. MyPIL.TargetFramework)
exeExtensionFilename extension of an executable for the target system.
The extension depends on the makefile and compiler that are called by the MakefileBuilder. These are defined by the template makefile specified by the source component (e.g., the referenced model under test).
For an embedded target the extension may be '.elf', '.abs', '.sre', '.hex', or others.
For a Windows host-based target the extension is '.exe'.
For a UNIX® host-based target the extension is empty, ''.

Constructor syntax:

rtw.connectivity.MakefileBuilder(componentArgs, targetApplicationFramework, exeExtension)

MakefileBuilder controls the customizable makefile-based build process supporting the creation of custom applications (e.g. a PIL application) that interface with a Simulink component such as a referenced model (represented as a collection of binary libraries).

To build the PIL application, you must provide a template makefile that includes the target MAKEFILEBUILDER_TGT. You can use any of the standard TMF files, e.g., ert_unix.tmf or ert_vc.tmf.

See Also

rtw.connectivity.ComponentArgs | rtw.pil.RtIOStreamApplicationFramework

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS