function out = fcn(gear) %#codegen table = [1 2 3 4]; switch(gear) case gearType.fourth; out=table(4); case gearType.third; out=table(3); case gearType.second; out=table(2); otherwise; % gearType.first out=table(1); end end
function out = fcn(gear) %#codegen table = [2.393 1.450 1.000 0.677]; switch(gear) case gearType.fourth; out=table(4); case gearType.third; out=table(3); case gearType.second; out=table(2); otherwise; % gearType.first out=table(1); end end
SystemDescriptionUserDate
100%
Generated on 09-Jun-2020 15:12:00 by EverTest® v4.6.142, EverBits GmbH