필터 지우기
필터 지우기

How to import a .asp url table into Matlab

조회 수: 1 (최근 30일)
Edson
Edson 2016년 8월 19일
답변: Edson 2016년 8월 19일
Hi. I need to get into Matlab a table that appears in: http://www.sbs.gob.pe/app/stats/TC-Contable.asp. The web page lets you choose which date you want the data; but I must do it by clicking in the calendar icon. Is there a way to import the table (foreign exchange rates) and specify the date? So far I only found ways to import the raw data but no success in specifying the date. Thanks in advance!

답변 (1개)

Edson
Edson 2016년 8월 19일
[UPDATE / CLARIFICATION], if you click on http://www.sbs.gob.pe/app/stats/tipodecambiocontablexls.asp?fec=18/08/2016, it will generate an excel file with the data as of 18/08/2016. I tried to use the matlab function webread without success:
url = 'http://www.sbs.gob.pe/app/stats/tipodecambiocontablexls.asp?fec=06/05/2016'; options = weboptions('ContentType','text','ArrayFormat','csv'); x=webread(url,options);

카테고리

Help CenterFile Exchange에서 Calendar에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by