Matlab GUI with arduino

Hi,
We are two students and we want to make a matlab GUI for a project (it's the first time we use a matlab GUI). We already have the GUI with two different buttons but we are having some troubles connecting the ARDUINO. We have two different codes (outside the GUI) that are related to arduino and they we don't have defined variables, every time we run the codes we get different values. How should we relate the buttons to the arduino codes?
Thank you very much.

1 Comment

How are you connecting to the Arduino? Are you doing this from within the GUI or does this occur in the "codes" you mention? Please clarify what these "codes" are (functions or scripts) and describe how the two buttons on your GUI are supposed to behave.

Sign in to comment.

Answers (0)

Categories

Asked:

N A
on 25 Nov 2015

Commented:

on 27 Nov 2015

Community Treasure Hunt

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

Start Hunting!