bancada-motores/Control/VF Control/slprj/speedgoat/PWMGenerator/PWMGeneratorxcp.m
Pedro Jose Romero Gombau 447269b383 Si
2024-10-28 11:36:48 +01:00

29 lines
606 B
Matlab

function xcp = PWMGeneratorxcp
xcp.events = repmat(struct('id',{}, 'sampletime', {}, 'offset', {}), getNumEvents, 1 );
xcp.parameters = repmat(struct('symbol',{}, 'size', {}, 'dtname', {}, 'baseaddr', {}), getNumParameters, 1 );
xcp.signals = repmat(struct('symbol',{}), getNumSignals, 1 );
xcp.models = cell(1,getNumModels);
xcp.events(1).id = 0;
xcp.events(1).sampletime = 0.0001;
xcp.events(1).offset = 0.0;
function n = getNumParameters
n = 0;
function n = getNumSignals
n = 0;
function n = getNumEvents
n = 1;
function n = getNumModels
n = 1;