Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1361 commits
Select commit Hold shift + click to select a range
6c0ef40
Update 01-Ultracortex-Mark-IV.md
shirleyzhang867 Apr 2, 2018
d4962b2
Update 01-Ultracortex-Mark-IV.md
shirleyzhang867 Apr 2, 2018
54b7c93
Update 01-Ultracortex-Mark-IV.md
shirleyzhang867 Apr 2, 2018
9bb16ee
Add files via upload
shirleyzhang867 Apr 4, 2018
bd9e5ea
Update RETURNS_AND_REFUNDS.md
shirleyzhang867 Apr 4, 2018
bc6891b
Delete RETURNS_AND_REFUNDS.md
shirleyzhang867 Apr 4, 2018
17cc6f8
Add files via upload
shirleyzhang867 Apr 4, 2018
ead49b2
Delete Refund_Policy.md
shirleyzhang867 Apr 5, 2018
741860a
Add files via upload
shirleyzhang867 Apr 5, 2018
5d0de6b
Update Refund_Policy.md
shirleyzhang867 Apr 5, 2018
56336af
Add files via upload
shirleyzhang867 Apr 9, 2018
65d77f1
Add files via upload
shirleyzhang867 Apr 9, 2018
fa68b03
Delete Daisy_Getting_Started_Guide.md
shirleyzhang867 Apr 9, 2018
14c4653
Add files via upload
shirleyzhang867 Apr 9, 2018
14cb34e
Update 04-PaymentFAQ.md
shirleyzhang867 Apr 25, 2018
528f602
Update 02-Ultracortex-Mark-III-Nova-Revised.md
shirleyzhang867 May 1, 2018
2ab114d
Add files via upload
shirleyzhang867 May 2, 2018
c60227a
Add files via upload
shirleyzhang867 May 3, 2018
b8eeb67
Update 011-Daisy_Getting_Started_Guide.md
shirleyzhang867 May 3, 2018
e7e4a4b
Update 011-Daisy_Getting_Started_Guide.md
shirleyzhang867 May 3, 2018
2c09136
Update 011-Daisy_Getting_Started_Guide.md
shirleyzhang867 May 5, 2018
b674df8
Update 04-PaymentFAQ.md
shirleyzhang867 May 14, 2018
ad2a84c
Update 011-Daisy_Getting_Started_Guide.md
shirleyzhang867 May 16, 2018
91084e0
Update 01-OpenBCI_Hardware.md
shirleyzhang867 May 16, 2018
cc4908f
Update 01-OpenBCI_Hardware.md
shirleyzhang867 May 16, 2018
7e452d5
Update 01-OpenBCI_Hardware.md
shirleyzhang867 May 16, 2018
9314eaa
Update 01-OpenBCI_Hardware.md
shirleyzhang867 May 16, 2018
de98b82
Update 01-OpenBCI_Hardware.md
shirleyzhang867 May 16, 2018
33decb2
Add files via upload
shirleyzhang867 May 16, 2018
3f7b847
Update 00-Tutorials.md
shirleyzhang867 May 16, 2018
c94d059
Update 00-OpenBCISoftware.md
shirleyzhang867 May 16, 2018
de9b6e1
Update 00-OpenBCISoftware.md
shirleyzhang867 May 16, 2018
3115a17
Add files via upload
shirleyzhang867 May 17, 2018
5d9ac7b
Update 01-OpenBCI_GUI.md
shirleyzhang867 May 17, 2018
c7acde9
Update 00-OpenBCISoftware.md
shirleyzhang867 May 17, 2018
efe00d9
Update 00-OpenBCISoftware.md
shirleyzhang867 May 17, 2018
c8a7855
Update 00-Tutorials.md
shirleyzhang867 May 17, 2018
e037bc0
Update 01-OpenBCI_Hardware.md
shirleyzhang867 May 17, 2018
a83ed21
Update 00-Tutorials.md
shirleyzhang867 May 17, 2018
b8ca574
Update 01-OpenBCI_GUI.md
shirleyzhang867 Jun 6, 2018
228cde9
Update 04-OpenBCI_Cyton_SDK.md
redFrik Jun 11, 2018
3bdd502
Update 02-Ganglion_Getting Started_Guide.md
shirleyzhang867 Jun 19, 2018
31de2c0
Add new section to under Using GUI
retiutut Jun 20, 2018
15549b9
Added other keyboard shortcut topic
retiutut Jun 20, 2018
4a03037
Add space
retiutut Jun 20, 2018
84340b5
formatting 1
retiutut Jun 20, 2018
e7eea4f
formatting 2
retiutut Jun 20, 2018
50d7dd4
formatting test 3
retiutut Jun 20, 2018
e2da4be
grammer 1
retiutut Jun 20, 2018
f90d867
words
retiutut Jun 20, 2018
52374b6
allow 4 success
retiutut Jun 20, 2018
3263b52
spelling
retiutut Jun 20, 2018
ceed918
added screenshot of button
retiutut Jun 21, 2018
28dc6fe
fix 1
retiutut Jun 21, 2018
fbc6186
fix 2
retiutut Jun 21, 2018
ff3cad6
edit 1
retiutut Jun 21, 2018
ee25925
pictured
retiutut Jun 21, 2018
c6714d3
edit 2
retiutut Jun 21, 2018
09ec163
Update 01-Ultracortex-Mark-IV.md
shirleyzhang867 Jun 21, 2018
a698063
Update 01-Cyton_Getting Started_Guide.md
shirleyzhang867 Jun 21, 2018
7dae8f1
Update 02-Ganglion_Getting Started_Guide.md
shirleyzhang867 Jun 21, 2018
91dcb78
Update 02-HowProductsGoTogether.md
shirleyzhang867 Jun 21, 2018
0664f9f
Merge pull request #142 from redFrik/patch-1
Jun 21, 2018
99438f8
update keyboard shortcuts
retiutut Jun 22, 2018
9baedf0
formatting 4
retiutut Jun 22, 2018
3cd89d7
formatting 5
retiutut Jun 22, 2018
8ca222f
exclamation point added
retiutut Jun 22, 2018
e8510f4
a few corrections
redFrik Jun 22, 2018
d8475f4
formatting
redFrik Jun 22, 2018
d0bf20a
formatting
redFrik Jun 22, 2018
99634b4
minor edit
redFrik Jun 22, 2018
b3d8067
formatting
redFrik Jun 22, 2018
86a4b08
formatting
redFrik Jun 22, 2018
f3c132a
formatting
redFrik Jun 22, 2018
04173f0
Update 06-Cyton_Radios_Programming_Tutorial.md
redFrik Jun 22, 2018
07f43ce
formatting
redFrik Jun 22, 2018
5477644
formatting
redFrik Jun 22, 2018
2f242dd
formatting
redFrik Jun 22, 2018
91feed0
Update Privacy_Policy.md
shirleyzhang867 Jun 26, 2018
ce445b8
Add files via upload
shirleyzhang867 Jun 26, 2018
fdc998d
Update Privacy_Policy.md
shirleyzhang867 Jun 26, 2018
d73ea33
Update keyboard shortcuts added
retiutut Jun 27, 2018
5928eed
Update Privacy_Policy.md
shirleyzhang867 Jun 27, 2018
ca905f6
Update 02-HowProductsGoTogether.md
shirleyzhang867 Jul 5, 2018
bb75fc0
add presentation mode keyboard shortcut
retiutut Jul 5, 2018
8b0da87
Create headband-images
shirleyzhang867 Jul 5, 2018
e793a39
Delete headband-images
shirleyzhang867 Jul 5, 2018
886f48b
Create Headband
shirleyzhang867 Jul 5, 2018
b73dd9f
Add files via upload
shirleyzhang867 Jul 5, 2018
6c27f26
development 3.4.0 commit changes
retiutut Jul 6, 2018
d15b690
formatting 1a
retiutut Jul 6, 2018
657bf97
edits 2a
retiutut Jul 6, 2018
8205539
edits 3a
retiutut Jul 6, 2018
c38894a
edit 4a
retiutut Jul 6, 2018
e2f7e25
edits 1b
retiutut Jul 6, 2018
975afec
edits 2b
retiutut Jul 6, 2018
a7f4711
edits 3b
retiutut Jul 6, 2018
d6f2200
edits 4b
retiutut Jul 6, 2018
f2221f7
edit 5b
retiutut Jul 6, 2018
0993b94
edit 1c
retiutut Jul 6, 2018
c228bd9
edit 2c
retiutut Jul 6, 2018
bb6c0ae
Update 09-Ganglion_Programming_Tutorial.md
shirleyzhang867 Jul 6, 2018
c9b45e5
Add files via upload
shirleyzhang867 Jul 9, 2018
7bcb243
Add files via upload
shirleyzhang867 Jul 9, 2018
9a49a96
Add files via upload
shirleyzhang867 Jul 9, 2018
99b8721
Delete Ganglion_Headband_Pins.JPG
shirleyzhang867 Jul 9, 2018
83abcde
Add files via upload
shirleyzhang867 Jul 9, 2018
1f701f3
Add files via upload
shirleyzhang867 Jul 9, 2018
c6ed0fc
Update 07-Ganglion.md
shirleyzhang867 Jul 9, 2018
b5b67af
Add files via upload
shirleyzhang867 Jul 9, 2018
f4b3906
Add files via upload
shirleyzhang867 Jul 9, 2018
d035ba5
Delete Headband_Front.JPG
shirleyzhang867 Jul 9, 2018
65ad8ac
Add files via upload
shirleyzhang867 Jul 9, 2018
9d28fee
Update 01-Ultracortex-Mark-IV.md
shirleyzhang867 Jul 9, 2018
cc97bc3
Add files via upload
shirleyzhang867 Jul 10, 2018
449ed30
Update 00-OpenBCISoftware.md
shirleyzhang867 Jul 11, 2018
89cbf15
Update 00-OpenBCISoftware.md
shirleyzhang867 Jul 11, 2018
09bbd52
Add files via upload
shirleyzhang867 Jul 11, 2018
c49a162
Delete GUI_Ganglion_Clip.mov
shirleyzhang867 Jul 11, 2018
89a4f9f
Add files via upload
shirleyzhang867 Jul 11, 2018
101fdc7
Delete 021-Headband_Tutorial.md
shirleyzhang867 Jul 11, 2018
4e14822
Add files via upload
shirleyzhang867 Jul 11, 2018
b56bafa
Delete 021-Headband_Tutorial.md
shirleyzhang867 Jul 11, 2018
255dfe5
Add files via upload
shirleyzhang867 Jul 11, 2018
1d32daf
Delete 021-Headband_Tutorial.md
shirleyzhang867 Jul 11, 2018
9a69caa
Add files via upload
shirleyzhang867 Jul 11, 2018
8e9d1c4
Delete 022-Headband_Tutorial.md
shirleyzhang867 Jul 11, 2018
7ede151
Add files via upload
shirleyzhang867 Jul 11, 2018
549a162
Add files via upload
shirleyzhang867 Jul 11, 2018
f142c2f
Delete 022-Headband_Tutorial.md
shirleyzhang867 Jul 11, 2018
e9a9c18
Add files via upload
shirleyzhang867 Jul 11, 2018
fb7aa54
Delete 022-Headband_Tutorial.md
shirleyzhang867 Jul 11, 2018
c503165
Add files via upload
shirleyzhang867 Jul 11, 2018
4d6285d
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 12, 2018
abf9ccf
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 12, 2018
513d770
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 12, 2018
a0c4c4b
Add files via upload
shirleyzhang867 Jul 12, 2018
5532671
Update 00-OpenBCISoftware.md
shirleyzhang867 Jul 12, 2018
77f2bb8
Update 00-OpenBCISoftware.md
shirleyzhang867 Jul 12, 2018
cb941d0
Update 00-OpenBCISoftware.md
shirleyzhang867 Jul 12, 2018
cff18f2
Update 00-OpenBCISoftware.md
shirleyzhang867 Jul 12, 2018
d5d5b89
Update 01-OpenBCI_Hardware.md
shirleyzhang867 Jul 12, 2018
f640d3f
Update 00-Headware.md
shirleyzhang867 Jul 12, 2018
76ca520
Update 00-Tutorials.md
shirleyzhang867 Jul 12, 2018
798641e
Add files via upload
shirleyzhang867 Jul 12, 2018
81afc58
Update 00-Headware.md
shirleyzhang867 Jul 12, 2018
0f03f7f
Add files via upload
shirleyzhang867 Jul 12, 2018
20ffca6
Update 00-FAQ.md
shirleyzhang867 Jul 12, 2018
74786c8
Update 02-Ganglion_Getting Started_Guide.md
shirleyzhang867 Jul 12, 2018
57499e3
Update 01-Cyton_Getting Started_Guide.md
shirleyzhang867 Jul 12, 2018
3318e1e
Update 01-Ultracortex-Mark-IV.md
shirleyzhang867 Jul 12, 2018
fdd2810
Update 00-Welcome.md
shirleyzhang867 Jul 12, 2018
b63a2b8
Update 00-Welcome.md
shirleyzhang867 Jul 12, 2018
762ce1b
Update 00-OpenBCISoftware.md
shirleyzhang867 Jul 12, 2018
4e15083
Update 00-Welcome.md
shirleyzhang867 Jul 12, 2018
e45fd06
Update 00-Welcome.md
shirleyzhang867 Jul 12, 2018
98d20a2
Update 00-Welcome.md
shirleyzhang867 Jul 16, 2018
64e3f94
Add files via upload
shirleyzhang867 Jul 17, 2018
16bfcb6
Update 01-OpenBCI_GUI.md
Jul 17, 2018
09ed829
Update 01-OpenBCI_GUI.md
shirleyzhang867 Jul 17, 2018
eec58c0
Delete 022-Headband_Tutorial.md
shirleyzhang867 Jul 17, 2018
ebbcb78
Add files via upload
shirleyzhang867 Jul 17, 2018
3a7123e
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 17, 2018
9083c23
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 18, 2018
475d3c9
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 18, 2018
0435ea8
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 18, 2018
4bbe3f6
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 19, 2018
1bb924d
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 19, 2018
2fa52f2
3.4.0-beta-0
retiutut Jul 22, 2018
47eee45
3.4.0-beta0
retiutut Jul 22, 2018
097bfb2
3.4.0beta0
retiutut Jul 22, 2018
8dee2ed
Update 02-Cyton.md
shirleyzhang867 Jul 26, 2018
6d94f7a
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 26, 2018
d5d7019
Update 022-Headband_Tutorial.md
shirleyzhang867 Jul 26, 2018
d81dda5
Merge branch 'master' into redFrik-patch-1
redFrik Aug 3, 2018
35293c3
Update 02-Ganglion_Getting Started_Guide.md
shirleyzhang867 Oct 6, 2018
a664c36
Update 02-Ganglion_Getting Started_Guide.md
shirleyzhang867 Oct 6, 2018
0ec1981
Update 01-OpenBCI_GUI.md
shirleyzhang867 Nov 2, 2018
7a38f09
Update 04-PaymentFAQ.md
shirleyzhang867 Nov 26, 2018
c54ce44
Merge branch 'master' into master
Dec 12, 2018
9e4e614
Merge pull request #143 from retiutut/master
Dec 12, 2018
41056b5
WIP: new docs for new hub
Dec 12, 2018
5bdb713
WIP: new docs for new hub
Dec 12, 2018
bfd1e7d
ADD: new openbci hub code
Dec 12, 2018
1a86a82
Merge pull request #152 from andrewjaykeller/master
Dec 12, 2018
e455ffa
Update OpenBCI GUI link
jongear Dec 15, 2018
52e9049
Bug Fix: Update docs for Hub auto-launch feature for Windows
retiutut Jan 5, 2019
6acff8f
Edit style for comments on Windows/HubLaunch Bug Fix
retiutut Jan 5, 2019
f8261f2
Edit 2: Windows/HubLaunch Bug Fix remove wording
retiutut Jan 5, 2019
6a2d084
Merge pull request #153 from jongear/patch-1
daniellasry Jan 19, 2019
344fa31
Merge pull request #159 from retiutut/master
daniellasry Jan 19, 2019
fe8d261
Updating install instructions for OpenBCI_GUI on windows v4.0.3
daniellasry Jan 19, 2019
079b9b0
Changed the ordering of instructions a little bit
daniellasry Jan 19, 2019
47652f6
Update Hub install instructions for Windows standalone
retiutut Jan 19, 2019
1ecb5b2
Updates OpenBCI_GUI running on windows isntructions
daniellasry Jan 19, 2019
9e93156
Update Hub install instructions for Windows/GUI/Processing
retiutut Jan 19, 2019
3ab3c15
Update gui_windows_drag_and_drop_hub.png
retiutut Jan 19, 2019
4b7ece6
Updated screenshot in place for Hub install on Windows
retiutut Jan 19, 2019
11f8252
Merged with retiutut's changes
daniellasry Jan 20, 2019
04a56d0
re-added gui_windows_drag_and_drop_hub.png
daniellasry Jan 20, 2019
47d5b73
added gui_windows_properties_run_as_admin_hub.png it was used elsewhere
daniellasry Jan 20, 2019
bcd2e9f
Path formatting change, remove suggestion to create shortcut
daniellasry Jan 20, 2019
5fb45cf
Another minot path formatting change
daniellasry Jan 20, 2019
eb2909b
specifying c:\\
daniellasry Jan 20, 2019
e7c1207
PNG->png
daniellasry Jan 20, 2019
e4f60da
Path formatting fix
daniellasry Jan 20, 2019
80ae178
Updated HUB install instructions with new screenshots - fixes #161
daniellasry Jan 20, 2019
fb98bb8
No more "cat" icon
daniellasry Jan 20, 2019
5949c7c
Changed header formatting
daniellasry Jan 20, 2019
209e2f0
Added comment to run processing as admin.
daniellasry Jan 20, 2019
f1d280c
minor typo correction
redFrik Jan 20, 2019
1b2d076
Merge pull request #165 from redFrik/patch-2
daniellasry Jan 20, 2019
8979734
Merge pull request #144 from redFrik/redFrik-patch-1
daniellasry Jan 20, 2019
b05a46a
minor typo correction 2
redFrik Jan 20, 2019
4c9a256
Merge pull request #166 from redFrik/patch-3
daniellasry Jan 20, 2019
7a7d3e2
Update 01-OpenBCI_GUI.md
shirleyzhang867 Jan 23, 2019
6055c25
Merge pull request #164 from daniellasry/update-gui-windows-docs
shirleyzhang867 Jan 23, 2019
a3188a8
Update 01-Ultracortex-Mark-IV.md
shirleyzhang867 Feb 3, 2019
2f1cf23
Update 00-Welcome.md
shirleyzhang867 Feb 5, 2019
2fab90f
review tutorials for gui v4
retiutut Feb 11, 2019
c4e8f51
Review Docs: Code review 1
retiutut Feb 12, 2019
1ef311a
Review Docs: Code review 2
retiutut Feb 12, 2019
5073f8e
Update 01-Cyton_Getting Started_Guide.md
shirleyzhang867 Feb 12, 2019
9a585e0
Cleanup OpenBCI_GUI Doc for GUI v4
retiutut Feb 13, 2019
e5487a3
Add changes from master
retiutut Feb 13, 2019
81a8161
openbci gui ganglion on mac OS
retiutut Feb 13, 2019
702e22a
add link to deprecated setup_csr_dongle doc
retiutut Feb 13, 2019
75059a8
update link for CSR dongle setup on github
retiutut Feb 13, 2019
bf10968
use relative link for csr dongle setup
retiutut Feb 13, 2019
7eabfa6
Merge remote-tracking branch 'upstream/master'
retiutut Feb 14, 2019
d17cfa7
Update Ganglion Getting Started Guide to Feb. 2019
retiutut Feb 14, 2019
0fbf961
fix picture link in cyton getting started guide
retiutut Feb 14, 2019
c8ba984
Merge pull request #169 from retiutut/master
daniellasry Feb 18, 2019
47e8d8a
Changed `Headware` to `Headsets`. Changed here to there.
produceconsumerobot Feb 22, 2019
e01eb58
Added headings for cyton, ganglion and wifi shield
produceconsumerobot Feb 22, 2019
018ecc1
Moved tutorials to top.
produceconsumerobot Feb 22, 2019
0aa4b60
deleted miscellaneous
produceconsumerobot Feb 22, 2019
fe6d137
Added dropdown for section 6
produceconsumerobot Feb 22, 2019
dd92876
Fixed reference to `Hardware Settings` button
produceconsumerobot Feb 23, 2019
8690613
Replaced EEG DATA with Time Series to reflect current UI
produceconsumerobot Feb 23, 2019
7ed32ca
Added highlighting to pin designators
produceconsumerobot Feb 25, 2019
7cfd140
Combined steps 2 and 3 into step 2 options A and B
produceconsumerobot Feb 25, 2019
9d82088
Fixed link to dongle
produceconsumerobot Feb 25, 2019
0f5fa86
Added some labeling of specific pins. Corrected some typos.
produceconsumerobot Feb 25, 2019
2161e48
Updated links
produceconsumerobot Feb 25, 2019
2c473b4
Fixed link bug
produceconsumerobot Feb 25, 2019
3b5971a
Added dropdowns for Cyton and Ganglion instructions.
produceconsumerobot Feb 26, 2019
1b7d03a
Updated cyton + wifi section
produceconsumerobot Feb 26, 2019
2e3e9d7
Reverted dongle image to flatdoc compatible markdown
produceconsumerobot Feb 27, 2019
138bf65
Reverted cyton image to flatdoc compatible markdown
produceconsumerobot Feb 27, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_store
.idea
65 changes: 0 additions & 65 deletions 01-8bitstart.md

This file was deleted.

8 changes: 0 additions & 8 deletions 02-applyingelectrodes.md

This file was deleted.

13 changes: 13 additions & 0 deletions 3rd Party Software/00-3rdPartySoftware.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 3rd Party Software

Welcome to the **3rd Party Software** section! Here you will find guides to help you better undertand external software tools that the OpenBCI platform easily interfaces with. There are a number of great signal processing and data analysis platforms out there that greatly extend the powers and capabilities of OpenBCI hardware and software. We hope to interface OpenBCI with all of them!

If you are a developer of a 3rd Party Software platform that would work well with OpenBCI hardware, please [don't hesitate to reach out](mailto:contact@openbci.com). If most cases, we'll help provide technical assistance in the creation of drivers and data bridges between platforms.

As of right now, we have tutorials for connecting OpenBCI to the following software tools:

* [MATLAB](http://docs.openbci.com/3rd%20Party%20Software/01-Matlab)
* [Neuromore](http://docs.openbci.com/3rd%20Party%20Software/02-Neuromore)
* [OpenViBE](http://docs.openbci.com/3rd%20Party%20Software/03-OpenViBE)
* [LabStreamingLayer](http://docs.openbci.com/3rd%20Party%20Software/04-LSL)
* [BrainBay](http://www.shifz.org/brainbay/)
153 changes: 153 additions & 0 deletions 3rd Party Software/01-Matlab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# MATLAB

[MATLAB](https://en.wikipedia.org/wiki/MATLAB) is a powerful numerical computing language and environment that is widely used in a wide variety of academic, research, and industry applications.

A few Matlab toolboxes have been created specifically for working with EEG and BCI. [EEGLAB](http://sccn.ucsd.edu/eeglab/), [BCILAB](http://sccn.ucsd.edu/wiki/BCILAB), [ERPLAB](http://erpinfo.org/erplab), and [FieldTrip](http://www.fieldtriptoolbox.org/) are a few toolboxes that have helped OpenBCI users work in MATLAB.

This tutorial will walk through setting up your Matlab environment for use with OpenBCI hardware, as well as some basic uses and functionalities that Matlab offers for working with brain-computer interfaces.

#### Installation
Go to the [MathWorks website](http://www.mathworks.com/help/install/ug/install-mathworks-software.html) for MATLAB installation instructions.

*Please note that MATLAB is commercial software. Licenses must either be purchased or acquired through academic or professional institutions.*

Several useful MATLAB toolkits (EEGLAB, BCILAB, FieldTrip, etc) have been created for collecting and analyzing EEG data, so this tutorial will focus on using MATLAB through these toolkits.

## Loading OpenBCI Data

To get started, use your OpenBCI board (like the Cyton or Ganglion board) and the OpenBCI GUI to stream some data. Whenever you stream data to the GUI, it's also automatically saved in .csv format on your computer. On MacOs, data is saved to a folder called "SavedData" that's in the same location as your OpenBCI application:

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/images/Third_party_software/saved_data_folder.png?raw=true" width="80%">

The save location for an OpenBCI GUI session is also at the top of the window:

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/images/Third_party_software/save_location_GUI.png?raw=true" width="80%">

The OpenBCI Processing GUI saves data in text (txt) or comma separated value (csv) files. Import the CSV file into MATLAB as a matrix by using the "Import Data" wizard:

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/images/matlab_tutorial/matlab_import_data.png?raw=true" width="80%">

Select a saved OpenBCI data file. Once the data import screen is open, select the "Numeric Matrix" import option. Deselect all of the header rows. Also deselect the final column, the timestamp values, since the import wizard can only parse numeric values. Feel free to give your matrix a conveneint name, like "eeg_data":

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/images/matlab_tutorial/matlab_import_screen.png?raw=true" width="80%">

Click "Import Selection". Your matrix should now appear as an object in your workspace! Keep reading to learn more about processing your data with MATLAB toolboxes.


## EEGLAB

From the EEGLAB wiki: "EEGLAB is an interactive Matlab toolbox for processing continuous and event-related EEG, MEG and other electrophysiological data using independent component analysis (ICA), time/frequency analysis, and other methods including artifact rejection."

#### Setup
Go to the [EEGLAB downloads page](http://sccn.ucsd.edu/eeglab/downloadtoolbox.html) and follow the instructions for your operating system.

Download the zip file of the most current version of EEGLAB and extract it into a directory on your system. Then, make this toolbox accessible from Matlab by adding a path to this directory (the steps to do this vary by OS - see the "EEGLAB downloads page" link above).

To check if EEGLAB is correctly set up, go to the Matlab prompt and type:
> \>\> eeglab

If the toolkit is not yet correctly implemented, the console should output:
"Undefined function or variable 'eeglab'."

If it is set up correctly, a pop-up window should appear with the EEGLAB GUI.

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/Matlab/eeglab_gui.jpg?raw=true" width="70%">

#### Preparing OpenBCI Datasets for EEGLAB Use
OpenBCI saves data in the opposite orientation from what EEGLAB needs. So, after importing your OpenBCI data to MATLAB as described above, perform a simple matrix transposition:
```
eeg_data = eeg_data'
```
Your data matrix is now ready to use with EEGLAB.

#### Using EEGLAB

If EEGLAB isn't already running, enter "eeglab" into the Matlab command line to start the program. Import your matrix into EEGLAB using the EEGLAB GUI: File -> Import Data -> Using EEGLAB functions and plugins -> From ASCII/float file or Matlab array

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/Matlab/eeglab_dataimport.png?raw=true" width="80%">

In the pop-up window that appears, enter information about the data set. Select "Matlab variable", and enter the name of the variable where your matrix is stored. Enter the Data Sampling rate (it should be commented in at the top of the txt file - usually 250 Hz by default in the OpenBCI GUI). The other fields can be left at default, and EEGLAB will automatically fill in the information from the data set.

Channel locations are useful for plotting EEG scalp maps in 2-D or 3-D format. OpenBCI uses the standard 10-20 format for the 8 and 16 channel models, which can be found within these sfp files: [8 channel](../assets/Matlab/electrode_positions_8channel.sfp) and [16 channel](/assets/Matlab/electrode_positions_16channel.sfp). You can then import channel data by click "Browse" next to "Channel location file or info" and locating the OpenBCI sfp file you downloaded.

The data is now imported into EEGLAB and ready to use!

#### Plotting Data in EEGLAB

To double check your data is imported correctly, and to get familiar with EEGLAB's interface, try plotting your data. Select Plot -> Channel data (scroll) from the EEGLAB pop-up window.

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/images/matlab_tutorial/EEGLAB_plot.png?raw=true" width="50%">

Your data should appear in a window like the image below:

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/images/matlab_tutorial/EEGLAB_plot_image.png?raw=true" width="80%">

Check out the links in the Further Reading section to learn more about processing data with EEGLAB!

#### Streaming into EEGLAB
From what I can tell, EEGLAB seems to work primarily with datasets and recorded data. To use streaming in MATLAB with these toolboxes, see the [BCILAB tutorial](http://docs.openbci.com/3rd%20Party%20Software/01-Matlab#matlab-bcilab) below.



## BCILAB

From the [BCILAB wiki](http://sccn.ucsd.edu/wiki/BCILAB): "BCILAB is a MATLAB toolbox and EEGLAB plugin for the design, prototyping, testing, experimentation with, and evaluation of Brain-Computer Interfaces (BCIs), and other systems in the same computational framework."

BCILAB provides a GUI from which you can control the plugin, but batch scripting can be used for those well-versed in MATLAB programming.

#### Installation
To install BCILAB, download the [development version of BCILAB](https://github.com/sccn/BCILAB/tree/devel) and extract it to any directory that is not your EEGLAB folder. Note: I found that the non-developer version (found [here](https://sccn.ucsd.edu/wiki/BCILAB#Quick_Start_Guide)) had bugs that were fixed by using the BCILAB-devel version instead.

Open up MATLAB, and set your current MATLAB directory to the unzipped BCILAB file:
```
>> cd your/path/to/bcilab;
```
Once you're in the file, just type the command:
```
>> bcilab
```
To start running BCILAB. After some console output, you should see the text "Welcome to the BCILAB toolbox!" and then a new GUI with the BCILAB menu should appear.

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/Matlab/bcilab_menu.png?raw=true" width="80%">

#### Streaming into BCILAB with Lab Streaming Layer (LSL)

See our [Labstreaminglayer Tutorial](http://docs.openbci.com/3rd%20Party%20Software/04-LSL) for instructions on how to start a stream from the OpenBCI headset to your computer. Follow the tutorial on how to start a stream using the OpenBCI Python API.

Once a stream has been started on your computer, open BCILAB within MATLAB (>> cd your/path/to/bcilab; bcilab) and from the menu, select **Online Analysis > Read input from... > Lab streaming layer...**

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/Matlab/bcilab_lsl.png?raw=true" width="80%">

## ERPLAB

From the [ERPLAB homepage](http://erpinfo.org/erplab): "ERPLAB Toolbox is a free, open-source Matlab package for analyzing ERP data. It is tightly integrated with EEGLAB Toolbox, extending EEGLAB’s capabilities to provide robust, industrial-strength tools for ERP processing, visualization, and analysis. A graphical user interface makes it easy for beginners to learn, and Matlab scripting provides enormous power for intermediate and advanced users."

#### Setup
[Download](https://github.com/lucklab/erplab/releases) and extract the latest ERPLAB release to the "plugins" folder of your EEGLAB directory (if you have an old release of EEGLAB, you will also have to enter the path to this directory in MATLAB by *File > Set Path*)

Next time your launch EEGLAB, the ERPLAB menu should appear in the EEGLAB GUI:

<img src="https://github.com/OpenBCI/Docs/blob/master/assets/Matlab/erplab.png?raw=true" width="70%">

#### Analyzing EEG Data Sets
To use ERPLAB for analyzing EEG datasets, import your data set as seen in the [Loading OpenBCI Datasets in EEGLAB section](#loading-openbci-datasets-in-eeglab). After the EEG data is imported into EEGLAB, you can then use ERPLAB functions to analyze your data. [Read more on using ERPLAB on their website](http://erpinfo.org/erplab/erplab-documentation/manual_4/)

## FieldTrip
From the [FieldTrip hopmepage](http://www.fieldtriptoolbox.org/development/realtime): "The toolbox offers advanced analysis methods of MEG, EEG, and invasive electrophysiological data, such as time-frequency analysis, source reconstruction using dipoles, distributed sources and beamformers and non-parametric statistical testing."

#### Setup
[Download](http://www.fieldtriptoolbox.org/download) the latest version of FieldTrip from the download page (you will have to provide an email address and descriptiption of research).

Add the FieldTrip directory to your MATLAB path and check out FieldTrip's [getting started guide](http://www.fieldtriptoolbox.org/getting_started).

## Further Reading

[EEGLAB Wiki](http://sccn.ucsd.edu/wiki/EEGLAB)

[BCILAB Wiki](http://sccn.ucsd.edu/wiki/BCILAB)

[ERPLAB Homepage](http://erpinfo.org/erplab)

[FieldTrip Homepage](http://www.fieldtriptoolbox.org/)


Loading