Arduino and Matlab GUI Tutorial

preview_player
Показать описание

In this Arduino and Matlab GUI Tutorial we will learn how to control the Arduino Board using Matlab GUI (Graphic User Interface). We will make a Matlab GUI with two buttons for turning on and off a led and an axis for plotting the analog input from a photocell (light-dependent resistor).

There is a typo at (13:02): grip on to grid on, p to d.

Like my page on Facebook:

Add me on Google+:
Рекомендации по теме
Комментарии
Автор

This is a nice tutorial thanks a lot Dejan. But one important comment for people who have ther MAtlab 2016 version please be aware that function codes like set a digital pin or write a digitial pin has been changed:

digitalWrite will be writeDigitalPin(a, 'D13', 1)

Like this there are more difference check the help funciton in Matlab and the examples to find out!

raygilbers
Автор

You have used basic languages and basit expression so ı am thankful to you

melissulan
Автор

Awesome explanation! Thanks to you i finished my job of signals and systems and implementation.

JavierM
Автор

Did you use the Arduino support package from Matlab for the example in the video ?

notaplant
Автор

Nice one Dejan! I just have a question!! Would you please tell me what is this value that you were entering in the read box like 500 or 1000!???? And what are the quantities that you are plotting like what is along the Y-axis and what is along X-axis????
Please answer me.

ppbbpb
Автор

Thanks sir, great job !
I faced some difficulties but after all, I executed it with my Ardiono uno board.
Share some more videos like serial communication of Arduino data to matlab (Bi-directional) using fopen and fclose.
Thanks a lot.

niyampatel
Автор

As usual another clear and useful tutorial. I'm learning a lot from your videos.

AyoSoul
Автор

Do you know how to do a waveform for speech recognition? Like I have an app and it is connected to arduino to control leds. Then, I need to show a waveform.

elliegrace
Автор

Hello, firstly thanks alot for the video it really helped me.
Secondly could you tell me how can i update the plot continously?
I mean when you press READ and as long as you dont close the port i want the data to refresh itself in time.
Thanks anticipated.

bercoviciadrian
Автор

I love your tutorials. I would like you to ask if you can make a simple desktop application to control a device.

fatih
Автор

Oh, great work.
May you live a long life Full of gladness and health . May all God's blessings descend upon you. May peace be within you. May your heart be strong. May you find what you're seeking wherever you roam.

KAFA
Автор

This is awesome my God reware you, I just have one request and I hope you don't mind to help me, actually I am going to use four ultrasonic sensors whith arduino by using Matalab GUI so I need your advice please.

MsAlsada
Автор

Dejan, Great video.  

I hate to say this but but just so you know the .IDE files dont really work with the newer versions of MATLAB, i.e. 2014a and on.  

Again, thanks for the very clear videos.  

austindowney
Автор

Hello. Greetings from Brazil. Great video, but due to not understanding much English, I was left with a doubt. I can use all libraries available for Arduino. Thank you

RMW_
Автор

Thanks so much!, Its very usefull your information

landaguillermo
Автор

Thank you Dejan, very useful and helpful. Like to ask and a bit confused. Did you run arduino sketch first and then communicate with matlab for this particular project?, If my understanding correct after seeing you Tutorial 7, you need to run arduino sketch first and the use Matlab to communicate via serial port. Meaning that you control you arduino using arduino IDE and matlab for getting the data out. Please correct me if I am wrong.

kmmaran
Автор

Great video Dejan, but I found some errors in the code you show on the video, I have fixed some of them on mine, but there are some I can not do it, for example I can't show the plot in real time. If you have the fixed code you use in the test, could you upload it?. Thank you, you are doing a great job!

mimonitoazul
Автор

It's a great lesson, but I'm having a problem with an error in gui_mainfcn (line 220) and
Error in Example1 (line 42), do you know something about it?
I would realy apreciate the help, thanks.

Atazkeitor
Автор

thanks you,
you are doing a great job

nabilkarame
Автор

It seems that version of the Matlab and the arduino's new plugins could be the problem.
I got this 2 errors in my MATLAB 2016:
Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in guitest_pr2 (line 42)
gui_mainfcn(gui_State, varargin{:});

So this video needs at least an actualization.

richardbalboa