How to change the specified part of URL when I use MatLab's web function?
5 次查看(过去 30 天)
显示 更早的评论
Hi All
I need to use Matlab to open the URL (<http://www.thisismoney.co.uk/money/saving/article-1583859/)>, however I want to change the part 1583859 within the URL.
So I set
Part='1583859';
web('http://www.thisismoney.co.uk/money/saving/article-',Part,'/')
But MatLab keeps telling me "The URL is not valid and cannot be loaded".
How can I fix it?
0 个评论
采纳的回答
Azzi Abdelmalek
2013-2-4
编辑:Azzi Abdelmalek
2013-2-4
Part='1583859'
web(['http://www.thisismoney.co.uk/money/saving/article-',Part,'/'])
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!