Skip to Main Content Skip to Search
Product Documentation

addAdditionalLinkObj - Add additional link object to array of additional link objects for CRL table entry

Syntax

addAdditionalLinkObj(hEntry, linkObj)

Arguments

hEntry

Handle to a CRL table entry previously returned by instantiating a CRL entry class, such as hEntry = RTW.TflCFunctionEntry or hEntry = RTW.TflCOperationEntry.

linkObj

String specifying an additional link object.

Description

The addAdditionalLinkObj function adds a specified additional link object to the array of additional link objects for a CRL table entry.

Examples

In the following example, the addAdditionalLinkObj function is used along with addAdditionalLinkObjPath to fully specify an additional link object file for a CRL 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'));

See Also

addAdditionalLinkObjPath

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