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

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

Comentarios a estos manuales

Sin comentarios