MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuel de service Page 141

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 282
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 281 282

Commentaires sur ces manuels

Pas de commentaire