Simulink Matlab Function DAQ Pulse Generation Instance Class

2 visualizaciones (últimos 30 días)
Laura
Laura el 10 de Oct. de 2022
Comentada: Laura el 11 de Oct. de 2022
  5 comentarios
Mario Malic
Mario Malic el 11 de Oct. de 2022
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 el 11 de Oct. de 2022
Great! Thank you Mario, I was looking for that type of function to check the available properties.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Periodic Waveform Generation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by