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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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"
}
:
}
}
Vista de pagina 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 281 282

Comentarios a estos manuales

Sin comentarios