Freemat + Ardunio errors (ArduinoIO)

235 views
Skip to first unread message

cron...@gmail.com

unread,
Dec 2, 2013, 10:36:44 PM12/2/13
to freema...@googlegroups.com
Hello,
I am trying to install the ArduinoIO on FreeMat and I am encountering an error.
You can get ArduinoIO from http://www.mathworks.com/matlabcentral/fileexchange/32374-matlab-support-package-for-arduino-aka-arduinoio-package
The part I'm stuck on is trying to run the file Install_arduino.m, I get "Error: Too many inputs to function which".  Is there any way I can resolve this issue?
Let me know if I can provide any additional information.  All the files are accessible by the link above.
Thanks!

roger

unread,
Dec 3, 2013, 2:42:02 PM12/3/13
to freema...@googlegroups.com
Hi,

On the website of the mathworks,
http://www.mathworks.nl/help/matlab/ref/which.html
the function "which" can have multiple inputs. The help of the function "which" in freemat (at least in version 4.0) suggest that only the one input version is supported. I suspect that it would help to make a fuller implementation of "which". I couldn't find where "which" is used in arduino.m, so it's probably in a called function. If you can find out where "which" is called, and with what syntax, you've got the problem isolated.

Greetings,
Roger.
Reply all
Reply to author
Forward
0 new messages