This example shows how to use the
addDWorkArg function to add a DWork argument named
d1 to the arguments for a semaphore entry in a code
replacement table.
hEntry — Handle to a code replacement table entry handle
The hEntry is a handle to a code replacement
table entry previously returned by instantiating a code replacement
semaphore table entry class, using
hEntry =
RTW.TflCSemaphoreEntry.
Example: sem_entry
arg — Argument added to the arguments for the table entry character vector | string scalar
Argument, such as returned by arg =
getTflDWorkFromString(name,
datatype), added to the
arguments for the code replacement table entry.