How can I connect Matlab to Accelerometers?
3 次查看(过去 30 天)
显示 更早的评论
I would like to use my Matlab to read the outputs of accelerometers. Are there products available that would allow me to use my usb port along with a function command like wavread?
Thanks.
Dave
3 个评论
Star Strider
2012-9-16
If I'd known that, I'd have suggested Acquire Data From an Accelerometer in the Data Acquisition Toolbox examples. ‘This example uses a ceramic shear accelerometer model 352C22 from PCB Piezotronics is used with 9.22 mV per Gravity.’ (The example and interface boards are listed as being current with respect to 2012b but likely also applies to more recent previous releases.)
采纳的回答
Walter Roberson
2012-9-15
No, with usb connected instruments you connect via serial(), transfer chunks of data, and then need to interpret the data.
Are you using something like a Mindstorm device?
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hardware Discovery and Setup 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!