Go Down

Topic: How to interface arduino Uno with Matlab in Ubuntu14.04 (Read 766 times) previous topic - next topic

thatianand

Hello,
I am having problem while interfacing Arduino with Matlab in Ubuntu. when i enter arduino in command window it is showing
Note: a DEMO connection will be created
Use a the com port, e.g. 'COM5' as input argument to connect to the real board
Demo mode connection .......
Motor Shield V2 (plus adioes.pde functions) sketch detected !
Arduino successfully connected !

ans =

arduino object connected to DEMO port
Motor Shield sketch V2 (plus adioes.pde functions) running on the board

Servo 2 is DETACHED
Servo 3 is DETACHED
Servo 4 is DETACHED
Servo 5 is DETACHED
Servo 6 is DETACHED
Servo 7 is DETACHED
Servo 8 is DETACHED
Servo 9 is DETACHED
Servo 10 is DETACHED
Servo 11 is DETACHED
Servo 12 is DETACHED
Servo 13 is DETACHED
Servo 14 is DETACHED
Servo 15 is DETACHED
Servo 16 is DETACHED
Servo 17 is DETACHED
Servo 18 is DETACHED
Servo 19 is DETACHED
Servo 20 is DETACHED
Servo 21 is DETACHED
Servo 22 is DETACHED
Servo 23 is DETACHED
Servo 24 is DETACHED
Servo 25 is DETACHED
Servo 26 is DETACHED
Servo 27 is DETACHED
Servo 28 is DETACHED
Servo 29 is DETACHED
Servo 30 is DETACHED
Servo 31 is DETACHED
Servo 32 is DETACHED
Servo 33 is DETACHED
Servo 34 is DETACHED
Servo 35 is DETACHED
Servo 36 is DETACHED
Servo 37 is DETACHED
Servo 38 is DETACHED
Servo 39 is DETACHED
Servo 40 is DETACHED
Servo 41 is DETACHED
Servo 42 is DETACHED
Servo 43 is DETACHED
Servo 44 is DETACHED
Servo 45 is DETACHED
Servo 46 is DETACHED
Servo 47 is DETACHED
Servo 48 is DETACHED
Servo 49 is DETACHED
Servo 50 is DETACHED
Servo 51 is DETACHED
Servo 52 is DETACHED
Servo 53 is DETACHED
Servo 54 is DETACHED
Servo 55 is DETACHED
Servo 56 is DETACHED
Servo 57 is DETACHED
Servo 58 is DETACHED
Servo 59 is DETACHED
Servo 60 is DETACHED
Servo 61 is DETACHED
Servo 62 is DETACHED
Servo 63 is DETACHED
Servo 64 is DETACHED
Servo 65 is DETACHED
Servo 66 is DETACHED
Servo 67 is DETACHED
Servo 68 is DETACHED
Servo 69 is DETACHED

Servo Methods: servoStatus servoAttach servoDetach servoRead servoWrite

Encoder 0 is DETACHED
Encoder 1 is DETACHED
Encoder 2 is DETACHED

Encoder Methods: encoderStatus encoderAttach encoderDetach encoderRead encoderReset

The speed of motor number 1 is set to: 0 over 255
The speed of motor number 2 is set to: 0 over 255
The speed of motor number 3 is set to: 0 over 255
The speed of motor number 4 is set to: 0 over 255
The speed of stepper number 1 is set to: 0 over 255
The speed of stepper number 2 is set to: 0 over 255

DC Motor and Steppers Methods: motorSpeed motorRun stepperSpeed stepperStep

Serial port and other Methods: serial flush roundTrip

and when i enter othe command
>> a.arduino('/dev/ttyACM1')
Undefined variable "a" or class "a.arduino".

somebody help me to solve it. is there any user manual to follow?

Go Up