Technical data
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.