set(obj1,'TimeOut',10);You can adjust timeout or time period by using this function . And you can get the values with this function get(obj1) . You can try it.
Timeout error with UDP object
4 次查看(过去 30 天)
显示 更早的评论
I'm trying to connect a Philips IntelliVue patient monitor to MATLAB. I want MATLAB to import waveform and numerical data from the monitor in real-time.
My biggest hurdle is getting MATLAB to recognize the device. I've been trying with Instrument Control Toolbox to no avail. When I ping the IP address of the device in Windows command prompt, it works fine. But when I try to search for UDP devices, it doesn't work. What am I doing wrong?
I've gotten as far as creating a UDP object using its IP address and port. However, whenever I run fscanf or a similar function, I get a timeout error. The terminator is set to LF, but I'm not sure if it should be.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Instrument Connection and Communication 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!