User`s guide
12 Verifying Generated Code for a Component
12-10
silout = cgvSil.getOutputData(i);
[matchNames, ~, mismatchNames, ~ ] = ...
cgv.CGV.compare(simout, silout);
4
Display the results of the comparison in the MATLAB command window:
fprintf('\nTest Case(%d): %d Signals match, ...
%d Signals mismatch', i, length(matchNames), ...
length(mismatchNames));
end
For more information about Software-in-the-Loop (SIL) simulations, see “What are SIL
and PIL Simulations?”