Simulink Matlab Function DAQ Pulse Generation Instance Class
이전 댓글 표시

댓글 수: 5
Mario Malic
2022년 10월 10일
Hey,
You need to set the frequency of the channel, not the device.
ch.Frequency = 5e-5;
Laura
2022년 10월 11일
Mario Malic
2022년 10월 11일
The InitialDelay property does not exist for your output channel ch. Here is a function that can show you what properties are available for your channel in the table.
DisplayProperties(ch);
function objectTable = DisplayProperties(object)
% Get fields, their values and put them in UITable
fields = fieldnames(object);
propVals = cell(length(fields), 1);
for ii = 1:length(fields)
propVals{ii,1} = object.(fields{ii,1});
end
objectTable = table(fields, propVals);
uiFig = uifigure();
uitable(uiFig, "Data", objectTable);
end
Laura
2022년 10월 11일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
