specifying 'Timeout' in weboptions does not work

4 visualizaciones (últimos 30 días)
Evgeny
Evgeny el 19 de Oct. de 2015
Hi all!
I want have a 1 sec. timeout in my call to webwrite(). However, this code takes 30 sec. to execute before throwing an error.
webwrite('http://dummy', 'blah', weboptions('Timeout', 1))
What is even more weird, is that the call to "weboptions" without arguments shows that the default is 5 sec. (returns "Timeout: 5")
I am running Matlab 2015a, on OS X 10.10
Any idea, what could be the problem?

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by