Info

This question is closed. Reopen it to edit or answer.

can anybody help me where i am making mistake here.

1 view (last 30 days)
its a endless loop even i just want to read 100 rows. i have to terminate it delibertaly . can anyone guide me where am making mistake. thank you
dateformated=0;
while hasdata(ds)
T=read(ds);
dateformated =datestr(719529+T.RequestTime/86400000,'yyyy-mm-dd HH:MM:SS');
end
  3 Comments
Mostafa
Mostafa on 13 Oct 2016
Edited: Mostafa on 13 Oct 2016
What is 'ds'? Can you write the whole function?
Walter Roberson
Walter Roberson on 13 Oct 2016
What is your evidence that it is an endless loop and not just slow? Have you experimented with reducing your datastore to a single file?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!