Question about the function of HC12FcnMul​tiRateMult​itaskingWi​thoutOS(cF​ile) void

The function of HC12FcnMultiRateMultitaskingWithoutOS(cFile) void is in the hc12mainlib.tlc file.the code as follows:
%if NumSynchronousSampleTimes > 2
for (i = 1; i < %<NumSynchronousSampleTimes>; i++) {
if (eventFlags[i]) {
if (OverrunFlags[i]++) {
%<RTMSetErrStat("\"Overrun\"")>;
return;
}
/* Set model inputs associated with subrates here */
%<FcnCallMdlStep("i")>\
/* Get model outputs associated with subrates here */
OverrunFlags[i]--;
}
}
In the C code which generated by %<FcnCallMdlStep("i")>\
the character "i" can not become numeral,it is only character "i"
how to solve the problem?thank you.

Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Tags

Asked:

on 26 Nov 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!