Reading real-time data in Excel

1 view (last 30 days)
Damo Nair
Damo Nair on 26 Dec 2017
Hello,
I have a simple question. When I try read to real-time Excel data, xlsread doesn't work, meaning every new request does not give me real-time data. However, the following 2 lines do ...
s = ddeinit('Excel', 'q.xlsx');
t = ddereq(s, 'r1c1:r1c2');
So, I'm just curious, why doesn't xlsread work? And why does ddeinit etc. work?
Thanks
Damo

Answers (0)

Community Treasure Hunt

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

Start Hunting!