Main Content


Add link object to array of link objects for code replacement table entry



addAdditionalLinkObj(hEntry,linkObj) adds a specified additional link object to the array of additional link objects for a code replacement table entry.


collapse all

This example shows how to use the addAdditionalLinkObj function with addAdditionalLinkObjPath to specify an additional link object file fully for a code replacement table entry.

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

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

Input Arguments

collapse all

The hEntry is a handle to a code replacement table entry previously returned by instantiating a code replacement table entry class, such as hEntry = RTW.TflCFunctionEntry or hEntry = RTW.TflCOperationEntry.

Example: op_entry

The linkObj is a character vector or string scalar that specifies an additional link object.

Example: 'addition.o'

Introduced in R2007b