How to read a file unrecongnized to Matlab
6 ビュー (過去 30 日間)
hi, i am working on implementing the ECG on my DSP kit. i have stored the file using the provided software but its extension is ".ecg". Matlab of course does not read it directly...
If a open it in Matlab directory as OPEN AS TEXT, it opens. Then the data is shown to me as values from 8 channels of ECG. It has 8 numericals values in a spaced single row. And there are around 8000 rows with occasionally english text for heart rate and leads off status.
So is there a way i can read it?? Thanks.
回答 (2 件)
Fangjun Jiang 2011 年 6 月 10 日
You can use textscan() function to read it. Some other functions are textread(),dlmread(). Try it yourself first.