addchannel missing or incorrect argument

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)

답변 (1개)

Sindhu Karri
Sindhu Karri 2021년 7월 16일

0 개 추천

Hii,
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!

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2021년 7월 13일

답변:

2021년 7월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by