C5505 DSP Interface With Matlab/Simulink

3 ビュー (過去 30 日間)
Talha
Talha 2011 年 5 月 23 日
hi, i am doing project of doing ECG on C5505 EVM. As till now i have successfully connected the EVM to pc and getting the signals. Now 1)i wanted to know how i be able to interface it with Matlab/Simulink. i can use both the USB or RS232 port.
2)I want the plots of ECG in realtime so that i can view and further analyze them
3)One thing more is it true that Simulink can be much easier for interfacing the DSP?? Cause i am new to matlab and dont know the code. It would be great help... Thanks...

採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 5 月 23 日
  1. You can interface with a serial port using a serial port object. Not sure about using the USB interface - does the EVM manufacturer provide driver DLLs? If yes, you can load it into MATLAB using either loadlibrary or calling it from a MEX-function.
  2. No inputs from me here - were you looking for advice on real-time processing? Note that since MATLAB/Simulink is not running on a real-time OS, it cannot deal with high-frequency inputs, but you may be able to get this working if MATLAB can acquire data fast enough for your application.
  3. I wouldn't say that Simulink is necessarily easier for interfacing with a DSP, unless you want to generate embedded code from your model and download it to the target.
  10 件のコメント
Walter Roberson
Walter Roberson 2011 年 6 月 1 日
Is the maximum amplitude about 3 x 10^4? If so that would correspond to a signed 16 bit integer, which would be a fairly common sampling format (though unsigned 16 bit integer would probably be more common.)

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by