How to change the specified part of URL when I use MatLab's web function?

1 vue (au cours des 30 derniers jours)
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?

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 4 Fév 2013
Modifié(e) : Azzi Abdelmalek le 4 Fév 2013
Part='1583859'
web(['http://www.thisismoney.co.uk/money/saving/article-',Part,'/'])

Plus de réponses (0)

Catégories

En savoir plus sur Adding custom doc dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by