command web works but webread does not work
이전 댓글 표시
following codes works: url = 'https://mitem.jd.hk/ware/view.action?wareId=2273486'; [f,h] = web(url,'-new'); pause(2); str = get(h,'HtmlText'); the str has all info I need; But the codes following does not work: url = 'https://mitem.jd.hk/ware/view.action?wareId=2273486'; str = webread(url); the str has same return url, which is 'returnUrl=http://mitem.jd.hk/ware/view.action?wareId=2273486'
How can I use websave or webread to solve this problem? thx a lot.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Web 访问에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!