Matlab example scripts for the MetaWear platform.
Stream data live from a MetaSensor using Bluetooth and a TCP socket (in Python). This repository includes both Python (.py) and Matlab (.m) scripts.
MetaWear is a complete development and production platform for wearable and connected device applications.
MetaWear features a number of sensors and peripherals all easily controllable over Bluetooth 4.0 Low Energy using this SDK, no firmware or hardware experience needed!
The MetaWear hardware comes pre-loaded with a wirelessly upgradeable firmware, so it keeps getting more powerful over time.
Follow the Tutorial here.
- MetaWear board
- Matlab, with a license and the following Toolboxes: Instrument Control Toolbox and Aerospace Toolbox.
- Desktop running Windows 10 with Bluetooth 4.0 (you may need a Bluetooth dongle)
These scripts have only been tested on Windows and Matlab R2018a
Clone this repository to your machine. Open a terminal and run the following git command:
git clone https://github.com/mbientlab/MetaWear-Tutorial-Matlab.git
Change to the repository directory on your computer (if you are not already there):
cd MetaWear-Tutorial-Matlab
Now create a branch using the git checkout
command:
git checkout -b <add-your-new-branch-name>
If you go to the project directory and execute the command git status
, you'll see there are changes.
Add those changes to the branch you just created using the git add
command:
git add .
Now commit those changes using the git commit
command:
git commit -m "Change to quat script for cube shape by @ghost_dev"
Push your changes using the command git push
:
git push origin <add-your-branch-name>
replacing <add-your-branch-name>
with the name of the branch you created earlier.
If you go to your repository on GitHub, you'll see a Compare & pull request
button. Click on that button.
Submit the pull request.
If we accept it, you will get a notification email once the changes have been merged.
Thank you for helping us make Matlab support for the MetaWear platform better!
Congrats! You just completed the standard fork -> clone -> edit -> PR workflow that you'll encounter often as a contributor!
See the License
Reach out to the community if you encounter any problems, or just want to chat :)