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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 157
LibIndexStruct
4
-36
LibIndexStruct
Purpose
Returns an optional index for a structure field
Syntax
%<LibIndexStruct(width, ucv, lcv, idx)>
Arguments
width
Integer width of variable.
ucv
User control variable string.
lcv
Loop control variable string.
idx
Integer index.
Returns
An optional index for a structure field.
Description
LibIndexStruct
returns an optional index for a structure field. An index into
to the signal is returned for wide signals. Nothing is returned for scalar signals
(this scalar expands them).
""
Signal is scalar (width == 1).
[ucv]
Width > 1,
ucv
is specified.
[lcv]
Width > 1,
lcv
is specified.
[idx]
Otherwise.
Vista de pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 281 282

Comentarios a estos manuales

Sin comentarios