how to replace digitalio which is no more supported as of 2016
18 次查看(过去 30 天)
显示 更早的评论
I am working on an already written script for data acquisition, and it uses the function "digitalio" to communicate with parallel port.
This part of the script is:
%% Initialize communication with Parallel Port
dio = digitalio('parallel','LPT1');
out_lines = addline(dio,0:7,0,'out');
putvalue(dio.line(1:8),dec2binvec(0,8));
I get the error: Function 'digitalio' unsupported. Use the session-based interface.
How can I resolve this issue?
Thanks in advance.
0 个评论
回答(1 个)
Monisha Nalluru
2020-11-16
编辑:Monisha Nalluru
2020-11-16
digitalio function is no longer supported from MATLAB R2016a
As an alternative you can use session-based interface
The documentation explains the transition of commands and workflows.
But the support for parallel adapter is not present in session-based interface.
You can use any of the following supported hardware with session based interface:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 EEG/MEG/ECoG 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!