MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuale di Servizio Pagina 141

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 140
LibCacheGlobalPrmData
4
-19
LibCacheGlobalPrmData
Purpose
Call this function from inside
BlockInstanceSetup
to cache global block
parameter data.
Syntax
%<LibCacheGlobalPrmData(buffer)>
Arguments
buffer
Buffer of global data.
Description
This function should be called from inside
BlockInstanceSetup
to cache global
block parameter data. Each call to this function appends your buffer to the
existing cache buffer. The global data is placed inside
model.prm
.
Example
%openfile buffer
real_T A[][] = {
{ 1.0, 0.0, 0.0 }, /* row 1 */
{ 1.0, 2.0, 0.0 }, /* row 2 */
{ 1.0, 0.0, 3.0 } /* row 3 */
}
%closefile buffer
%<LibCacheGlobalPrmData(buffer)>
See Also
LibCacheNonFiniteAssignment
Vedere la pagina 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 281 282

Commenti su questo manuale

Nessun commento