TonyP
TonyP

Reputation: 3

Reading Realtime Data Into Matlab, then Saving and Realtime Plotting

I am currently trying to achieve the following:

Read real-time, changing, data into Matlab(R2016a), from Excel(2016), saving this information and plotting it while it updates in real time.

I am currently using vba to record the data into excel, and then converting to a csv, uploading into matlab to plot. However, this is slow and Excel seems to falter after a few hundred thousand lines and I want this to run continuously and update the plots in real-time.

So to reiterate:

1) Read data into matlab from excel and record, say A40:R40, these cell values are static, only the data changes 2) Realtime plot data, the A40 cell value is time(x), the rest would be plotted on (y)

To be honest I am completely new to matlab and am still trying to understand xlsread. Also, the command codepage in matlab you guys are probably so familiar with is throwing me off. Any help would be appreciated. Thank you for your time.

Upvotes: 0

Views: 245

Answers (0)

Related Questions