Change the timer of fopen for a tcp/ip object?

1 回表示 (過去 30 日間)
Ronan
Ronan 2015 年 10 月 22 日
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 件)

カテゴリ

Help Center および File ExchangeInterface-Based Instrument Communication についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by