1. If MATLAB is already installed on your computer, skip to step 3. Otherwise, receive a software key for MATLAB from your university’s IT department.
2. Install MATLAB from their website and enter the product key.
3. Download the EMG.zip file and extract the contents to the MATLAB folder within the documents folder of the computer.
4. Within MATLAB, select the EMG MATLAB file from the folder tree on the left hand side.
5. Click the “Add-Ons” button in the MATLAB Browser toolbar, search for “MATLAB Support Package for Arduino Hardware”, and install it.
6. Ensure no Arduino devices are currently connected via USB to the PC and run the MATLAB files to start the MATLAB EMGine GUI.
7. The MATLAB test is successful if the GUI opens and another window pops up over it requesting an Arduino be attached for it to work properly.
1. Electron's package, electron-builder, allows packaging of an electron application to create a desktop installer.
2. Users can download this binary for a simple install.
1. Download the source directory and extract it.
2. In order to install our package’s dependencies, you will need to install Node, Node Package Manager (npm), and Electron.
3. After the necessary packages are installed, from within the source’s directory install the dependencies with the command “npm install” in the terminal.
4. To run the package locally, you may run “npm run dev”. This will start a server with Node.js and serve the application at http://localhost:8080/.
5. To build this as an electron application rather than a web application in the browser, you can run the command “npm elect”.