MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Instrukcja Obsługi Strona 140

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 282
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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)>
Przeglądanie stron 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 281 282

Komentarze do niniejszej Instrukcji

Brak uwag