MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Service Manual Page 73

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 281 282

Comments to this Manuals

No comments