Borrar filtros
Borrar filtros

addchannel missing or incorrect argument

3 visualizaciones (últimos 30 días)
robert gerritsen
robert gerritsen el 13 de Jul. de 2021
Respondida: Sindhu Karri el 16 de Jul. de 2021
In not sure when this ni daq code was written because when I search some of the functions used like addchannel() almost no examples show up. Is this from an older version of matlab or from a no longer supported package.
here is the code:
addchannel(handles.AI, 0:total_chans-1, 1:total_chans); % (obj,hwch,index)

Respuestas (1)

Sindhu Karri
Sindhu Karri el 16 de Jul. de 2021
addchannel function is from older versions of MATLAB and is no longer supported .Instead you can use addinput function to add the channel and returns a channel object.
Refer to below information for more info
Hope this helps!


Más información sobre Simultaneous and Synchronized Operations en Help Center y File Exchange.




Community Treasure Hunt

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

Start Hunting!

Translated by