matlab 2007b serial
hi adeel,
you can give ur ECG signal to "mike" input or "line in" input (line in input must be the correct one, not sure) of the soundcard.
the soundcard (which is nothing but an ADC working at a max sampling rate of 44.1Khz).
now, you can use the function "wavrecord" in MATLAB which takes parameters like the sampling frequency, time duration, this function directly records from the soundcard and stores it to a MATLAB variable, which you can process later on..
hope that this helps..