addAdditionalLinkObjPath - Add link object path to array of link object paths for code replacement table
entry - MATLAB ([original](https://www.mathworks.com/help/ecoder/ref/addadditionallinkobjpath.html)) ([raw](?raw))
Main Content
Add link object path to array of link object paths for code replacement table entry
Syntax
Description
addAdditionalLinkObjPath([hEntry](#d126e671),[path](#d126e702))
adds a specified additional link object path to the array of additional link object paths for a code replacement table entry.
Examples
This example shows how to use theaddAdditionalLinkObjPath
function withaddAdditionalLinkObj
to specify the path to 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 entry class, such as _`hEntry`_ = RTW.TflCFunctionEntry
or_`hEntry`_ = RTW.TflCOperationEntry
.
Example: op_entry
The path
is a character vector or string scalar that specifies the full path to an additional link object. The character vector or string scalar can include tokens (for example,$myfolder$
, where myfolder
is a variable defined as a character vector, cell array of character vectors, or string array in the MATLABĀ® workspace).
Example: op_entry
Version History
Introduced in R2008a