Data Source for downloaded data from an HTTP API advice
이전 댓글 표시
Hi
I am downloading data from any HTTP API. As shown in code below:
for i = 1:datelistsize(2)
disp([datelist.start(i),datelist.stop(i)]);
live_data_downloaded_data_temp =device_data(deviceid,datelist.start(i),''+datelist.stop(i));
live_data_downloaded_data =[live_data_downloaded_data live_data_downloaded_data_temp'];
end
save("deviceid_"+deviceid,'live_data_downloaded_data','ref_data_timestamp','ref_data_sensordata')
As time progresses i do not want to be re downloading data that i alread have.
If i am correct i could use datasource.
I would need to store the last times stamp of my data, then what i aim to do is on every instance i call my code, i would save "live_data_downloaded_data" into a new .mat file. Then when i need to read the data, i would have multiple files.
Does anyone have example how i would need to modify my code, so a data source can acklowedge it?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Downloads에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!