I am not sure if anyone is familiar with the Arduino IO package for Matlab (http://www.mathworks.com/matlabcentral/fileexchange/32374) it is an arduino sketch that allows the arduino to talk through serial communication with Matlab and have matlab do computations and graphing for inputs given specific commands. It works great through the USB serial cable straight to the arduino.
Now it’s time to go wireless. I have just recently purchased 2 xbee series 1, 2 xbee Adapter kits, and the FTDI cable from the adafruit store. I know everything works as I have done the tutorials provided by the wonderful ladyada.
So I decided to add the NewSoftSerial library into the Arduino IO sketch and do point to point into Matlab. When I try to call the arduino in matlab using the a=arduino(‘COM5’) command you can see that the xbees are communicating but it inevitably times out. Just to make clear COM5 is the port into which the FTDI cable with the Xbee is plugged into the computer.
I am sure it’s a lot more complicated to get it to work and I am using the wrong method completely, however I was wondering if anyone would be able to help. If there is a forum that you believe this would get better exposure I will post it there as well.
Thanks for your time.