analogdevicesinc / libiio-matlab

MATLAB bindings for libiio
Other
13 stars 25 forks source link

libiio_if.m fails on find attribute breaks for libiio_ctrl_dev objects #2

Open aswalters opened 9 years ago

aswalters commented 9 years ago

If you do not input exact attribute name the function will encounter a fatal error because ctrl_dev objects have no Channel configurations.

a simple fix with a channel creation flag in init constructor could prevent this