How can I connect Matlab to Accelerometers?
3 views (last 30 days)
Show older comments
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 Comments
Star Strider
on 16 Sep 2012
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.)
Accepted Answer
Walter Roberson
on 15 Sep 2012
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 Comments
More Answers (0)
See Also
Categories
Find more on Hardware Discovery and Setup in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!