Compiling GUI to control Arduino

1 view (last 30 days)
Patrick
Patrick on 24 Apr 2014
Commented: D on 13 Jan 2017
I wrote a simple GUI program in MATLAB that has a few button and sliders that control a stepper motor. The buttons are for up and down movement while the sliders control speed and amount of steps taken per click. I'm using the adafruit motor shield v2.0. When I run the GUI in MATLAB everything works fine, the buttons result in movement and the sliders control their designated variables. I need to compile this program to run on a stand alone (or at least with MATLAB compiler runtime). When I compiled it the GUI shows up but none of my buttons result in any functioning. Does anyone have an idea what's going wrong?
  2 Comments
Dhruv Singh
Dhruv Singh on 6 Apr 2016
Edited: Dhruv Singh on 6 Apr 2016
I have the same issue :/ Still havent found the fix. All that I know is that the standalone apps are not able to establish communication with the arduino. Probably missing out on a line of code or probably a file that has to be attached while compiling the standalone application.
D
D on 13 Jan 2017
I am having the exact same issue... Has anybody resolved this problem?
This error makes programming Arduino in Matlab almost useless if you cannot compile a GUI

Sign in to comment.

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!