Loading...
Pages: [1]   Go Down
Author Topic: Matlab>>>Arduino  (Read 1554 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm currently doing project to control a robotic car , but i need build a Matlab GUI to control the car through my laptop, so how i can interface Matlab with the Arduino to control the motor? i use 2 DC motor which is connect with H-bridge L293D, i can control the motor by using Arduino, but i have no ideal to interface the Arduino with the Matlab GUI, is any example or useful guide for me to interface both of them ???
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 316
Posts: 35544
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
but i need build a Matlab GUI to control the car through my laptop
Why Matlab? Matlab is a very expensive program to use for this task, unless there are requirements that you have not revealed.

http://arduino.cc/playground/Interfacing/Matlab
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yup, this is one of the my project requirement..., i follow the guide from there, but it shows this :
a=arduino('port')
??? Undefined function or method 'arduino' for input arguments of type 'char'.


i'm missing some step????
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 316
Posts: 35544
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a link on the playground page to a mathworks site. It would appear that other people have been able to get all the required software installed so that MATLAB can talk to the Arduino. You should be able to, too.

There appears to be a fair amount of information available on the mathworks site, with examples, even.
Logged

Pages: [1]   Go Up
Print
 
Jump to: