From: Anindya Dutta on
Hi,
I want to import data from an Excel file onto MATLAB in realtime. I am currently importing using a xlsread(), processing the data and then plotting it using the tools on MATLAB. Consequently, the data I see is only valid for the time at which it was imported. Is there a way to make it constantly refresh and update the data from the Excel file? (The Excel file has been setup to import data from another software, and hence updates itself every few seconds).
Would really appreciate a detailed answer, as I am not still at a beginner/intermediate stage in MATLAB use.

Thanks!

Anindya
From: Mihir on
Put yr matlab code in infinite for loop so it will run for as long as u want...

and whenever it runs it will read the excell file and update the data ..and plot it....


"Anindya Dutta" <seemeandsuffer(a)yahoo.com> wrote in message <hnpns3$m90$1(a)fred.mathworks.com>...
> Hi,
> I want to import data from an Excel file onto MATLAB in realtime. I am currently importing using a xlsread(), processing the data and then plotting it using the tools on MATLAB. Consequently, the data I see is only valid for the time at which it was imported. Is there a way to make it constantly refresh and update the data from the Excel file? (The Excel file has been setup to import data from another software, and hence updates itself every few seconds).
> Would really appreciate a detailed answer, as I am not still at a beginner/intermediate stage in MATLAB use.
>
> Thanks!
>
> Anindya