Cannot Compile Gui that communicates with Arduino

1 view (last 30 days)
D
D on 13 Jan 2017
Commented: D on 31 Jan 2017
My code to run arduino hardware works perfectly fine in a Matlab GUI, however when I try to compile the code, I can no longer connect to my arduino.
Does anybody have a solution to his? Thanks,
  2 Comments
Jordan Ross
Jordan Ross on 23 Jan 2017
Hello,
How are you compiling the MATLAB GUI? Also, when you compile what is the error that you are receiving?
D
D on 31 Jan 2017
Here is an example of the simplest:
1. Create GUI with 1 button 2. Program that button to do the following operation upon clicking: a = arduino 3. Compile via deploytool 4. Add the GUI and the associated .m file
_
Running the GUI without compiling, works fine, however, running the GUI with deploytool compiler, doesn't connect to the arduino

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!