MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de servicio Pagina 140

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 139
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)>
Vista de pagina 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 281 282

Comentarios a estos manuales

Sin comentarios