addAdditionalLinkObj - Add link object to array of link objects for code replacement table
entry - MATLAB ([original](https://in.mathworks.com/help/ecoder/ref/addadditionallinkobj.html)) ([raw](?raw))
Main Content
Add link object to array of link objects for code replacement table entry
Syntax
Description
addAdditionalLinkObj([hEntry](#d126e546),[linkObj](#d126e577))
adds a specified additional link object to the array of additional link objects for a code replacement table entry.
Examples
This example shows how to use theaddAdditionalLinkObj
function withaddAdditionalLinkObjPath
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
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'
Version History
Introduced in R2007b