data aquisition toolbox session based interface enumerating channels

1 次查看(过去 30 天)
I am using R2011b on a 64 bit computer
In my gui, I allow the user to select the analog input channel from a drop down list that has the names of the channels.
In the legacy interface, you could create an analog input device and ask for the names of the analog input channels. In the session based interface, it doesn't look like that is possible. From what I see, you have to iterate through the "Subsystems" until you find one that is of type 'analogInput' and then use the number of channels to build a list of strings. Am I missing a hidden method?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by