Change the timer of fopen for a tcp/ip object?
1 次查看(过去 30 天)
显示 更早的评论
I m trying to connect to a dynamic ip address so I m guessing a range of ip addresses by iterating through a range. So basically every time I try and open a connection I catch it failing and iterate on to try the next ip address. This works but its very slow. So for every ip address i try to open a tcp object it takes about 2-5 seconds and sometimes longer. Is there a way to change how fast fopen fails? I thought about changing the properties of the tcp object by changing things like TimerPeriod and TimerFcn which didn't do anything. After looking at the terminator it seems i can only change it to linefeed and carriage return (LF and CR). But this didn't do anything for the time fopen times out. Are there any other ways?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interface-Based Instrument Communication 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!