Hi, I have the following url (see below). Once I get it I want to use textscan in such a way that it gives me all the dates which are between the symbols '<td>date</td>'.
url = [ 'https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=msft&type=10-q&dateb=&owner=exclude&count=100' ];
csv = native2unicode(webread(url).');
data = textscan(csv, '%s');

 採用された回答

Walter Roberson
Walter Roberson 2017 年 2 月 14 日

0 投票

You cannot do that. However you can urlread() the content into a string and then textscan the string. The first parameter to textscan can be a string instead of a fileid

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

タグ

質問済み:

AA
2017 年 2 月 14 日

回答済み:

2017 年 2 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by