Change the timer of fopen for a tcp/ip object?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Interface-Based Instrument Communication finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!