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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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"
}
:
}
}
Vedere la pagina 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 281 282

Commenti su questo manuale

Nessun commento