addAdditionalLinkObjPath

Add additional link object path to array of additional link object paths for TFL table entry

Syntax

void addAdditionalLinkObjPath(hEntry, path)

Arguments

hEntry

Handle to a TFL table entry previously returned by hEntry = RTW.TflCFunctionEntry or hEntry = RTW.TflCOperationEntry.

path

String specifying the full path to an additional link object.

Description

The addAdditionalLinkObjPath function adds a specified additional link object path to the array of additional link object paths for a TFL table entry.

Example

In the following example, the addAdditionalLinkObjPath function is used along with addAdditionalLinkObj to fully specify an additional link object file for a TFL table entry.

% Path to external object files
libdir = fullfile('$(MATLAB_ROOT)','..', '..', 'lib');

op_entry = RTW.TflCOperationEntry;
...
addAdditionalLinkObj(op_entry, 'addition.o');
addAdditionalLinkObjsPath(op_entry, fullfile(libdir, 'bin'));

See Also

addAdditionalLinkObj

Specifying Build Information for Function Replacements in the Real-Time Workshop® Embedded Coder™ documentation

Target Function Libraries in the Real-Time Workshop Embedded Coder documentation

  


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