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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 72
Target Language Compiler
2-53
1: %assign y = LibBlockOutputSignal(0, "", lcv, sigIdx)
1: %assign u = LibBlockInputSignal(0, "", lcv, sigIdx)
1: %assign k = LibBlockParameter(Gain, "", lcv, sigIdx)
1: %if InlineParameters == 1
0: %<FcnEliminateUnnecessaryParams(y, u, k)>\
1: %else
1: %<y> = %<u> * %<k>;
1: %endif
1: %endroll
1:
1: %endfunction
1:
1: %% [EOF] gain.tlc
This structure makes it easy to identify branches not taken and to develop new
tests that can exercise unused portions of the target files.
Vista de pagina 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 281 282

Comentarios a estos manuales

Sin comentarios