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
HI MArtin. Thanks for the positive feedback. As for the error message, you are the first person to report it for pmkmp. Perhaps the 2007 release did not have these functions? It looks like others have encountered the problem and reported it elsewhere: http://www.nitrc.org/forum/forum.php?thread_id=3703&forum_id=3259