Loading...
Pages: [1]   Go Down
Author Topic: Arduino Leonardo + Matlab, possible communication?  (Read 219 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Arduino'friend!

I would to use Arduino Leonardo with matlab. I have installed Arduino package for Matlab and Simulink and I have a Arduino Leonardo.

I try to write in command window

a=arduino('COMport')

but I get an error,

a=arduino('COM23')
Undefined function 'arduino' for input arguments of type 'char'.

I have failed in the installation or Arduino leonardo isn't compatible with Matlab?
Logged

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

Solved, I haven't correctly installed arduino for matlab but only for simulink.
Logged

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

How did you do that? Can you post the code?
Logged

Pages: [1]   Go Up
Print
 
Jump to: