How i can correct this error
6 次查看(过去 30 天)
显示 更早的评论
Hello I tried to connect matlab to mysql with this code in file exchange but i had always this error
Error during URL reading. Retrying...
thanks
[EDITED, Jan, copied from comment section]
This message is due to this code. it can't read the url
url= 'http://www.myserver.com/php_input.php';
while done==0
try
% Try to read the URL
HTML = urlread(url,'POST',opt);
done = 1;
catch
% If an error has occurred wait for some time before re-trying
disp('Error during URL reading. Retrying...');
done = 0;
pause(0.2);
end
end
5 个评论
Jan
2012-9-16
@Pamela: Replace this URL with the path of which file? The message tells you, that you cannot contact the URL by POST. Do you have reasons to expect the opposite?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!