Getting Started

Packages required

In order for the GUI to work the user must have the following MATLAB toolboxes, packages and Arduino libraries installed in his computer:

Note

In future versions an exe file will possibly be made as well, so that the setup operation is fully automated.

Setup and Execution

To download the project navigate to the corresponding Github repository and either clone the project or downlaod the zip version.

_images/projectDownload.png

Before running the GUI, the user must have a series of packages and extensions installed in MATLAB. These are described in the Packages required section above. If everything looks OK, the user can then proceed and upload the Arduino Code to the Arduino, start matlab and and then launch the GUI from its corresponding folder.

_images/arduinoCode.png

A summary of the steps is also described below:

  • Download the ZIP file/ Clone the Github repository
  • Upload the arduino code (ArduinoCode.ino) to the Arduino
  • Launch matlab, run the ‘microscope’ command (make sure you are running it from inside its corresponding folder)

Warning

Make sure you close MATLAB before trying to upload a different version of the arduino code. Otherwise the Arduino IDE will not be able to upload the program using the specified port as MATLAB still has read/write access to the port.