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

  • 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 100
The RTW TLC Function Library
3-27
LibRenameParameter(block, param, newName)
Given a reference to a block, a reference to a block parameter, and the new
name for the block parameter, this function renames the parameter and
creates a new reference to the parameter. Most likely, you will call this function
from
BlockInstanceSetup.
As an example, if you want to rename the S-function parameter
P1 defined in
this RTW file:
System {
Block {
Name "sfunc"
Type "S-Function"
:
Parameter {
Name "P1Size"
Value [1, 1]
String ""
}
Parameter {
Name "P1"
Value 2.5
String "Kp"
}
:
}
}
Vue de la page 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 281 282

Commentaires sur ces manuels

Pas de commentaire