Technical data
LibCacheFunctionPrototype
4
-18
LibCacheFunctionPrototype
Purpose
Call this function from inside
BlockTypeSetup
to cache a function prototype.
Syntax
%<LibCacheFunctionPrototype(buffer)>
Arguments
buffer
Buffer of function prototypes to be cached.
Description
This function should be called from inside
BlockTypeSetup
to cache a function
prototype. Each call to this function appends your buffer to the existing cache
buffer. The prototypes are placed inside
model.h
.
Example
%openfile buffer
extern int_T fun1(real_T x);
extern real_T fun2(real_T y, int_T i);
%closefile buffer
%<LibCacheFunctionPrototype(buffer)>