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

  • 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 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.
Vue de la page 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 281 282

Commentaires sur ces manuels

Pas de commentaire