I tried to use the package on R2012a, with a UNO R3. The following script just leads to the built in LED on pin 13 being always on when I run the script however if I go into debug mode and step through the script then the LED turns on and off as you would expect as you execute the lines one by one. The Rx LED flashes approximately once per second when the script is running.
Can anyone tell me why the LED doesn't flash on and off once per second for 60 seconds when I execute the script? thanks.
% create arduino object and connect to board
if exist('a','var') && isa(a,'arduino') && isvalid(a),
% nothing to do
% specify pin mode for pins 13
while toc/60 < 1
% toggle the digital value of pin 13 LED
Error in getFeatures (line 39)
Face = FaceDetect('haarcascade_frontalface_alt2.xml',pic2);
Error in getPoints (line 39)
out = getFeatures(snapshot0);
Error in eyetracking (line 48)
[T] = getPoints(snapshot);
unable to run the code,these are the foll errors..
please anyone can help me out of this
mY OS is Win 8.1 64bit
also were tocopy the .xml file and how toinstall the mex file
We used MATLAB and an Arduino UNO (Ruggediuno) for our process control lab starting in 2013. We built 40 lab kits for ~$50 each and distributed them to students. Below is a link to our source code for the lab.
The lab is featured in the December issue of CACHE news. The article includes a number of lessons learned with regards to improving student experience. It was a positive experience the second year (2014) after we worked out some important details.
We're interested in continuing to improve the Arduino lab. Please contact me with any suggestions on additional modules related to Process Dynamics and Control: firstname.lastname@example.org.