Technical data

LibBlockFunctionExists
4
-2
LibBlockFunctionExists
Purpose
Determines if a given block function exists
Syntax
%<LibBlockFunctionExists(block, fcn)>
Arguments
block
Reference to a block record.
fcn
Function to check (e.g., "
Outputs"
).
Returns
Description
Determines if a given block function exists.
LibBlockFunctionExists
first
checks to see if the TLC file exists (for S-function blocks). Then it checks to see
if the function exists.
Value Condition
1
Specified function exists.
0
Specified function does not exist, but TLC file does.
–1
TLC file does not exist.