bancada-motores/Control/VF Control/slprj/speedgoat/PWMGenerator/PWMGeneratorxcp.m

29 lines
606 B
Mathematica
Raw Normal View History

2024-10-28 10:36:48 +00:00
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;