フィルターのクリア

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

2 ビュー (過去 30 日間)
Zheng
Zheng 2013 年 2 月 4 日
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?

採用された回答

Azzi Abdelmalek
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 ExchangeAdding custom doc についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by