Simulink Matlab Function DAQ Pulse Generation Instance Class

1 次查看(过去 30 天)
  5 个评论
Mario Malic
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
Laura 2022-10-11
Great! Thank you Mario, I was looking for that type of function to check the available properties.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Periodic Waveform Generation 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by