Arduino Playground - Matlab
Arduino Playground - Matlab
Summary:
Output
language you can see results from I/O instructions immediately without compiling. MATLAB includes
and plotting functions that you can use to analyze and visualize data from
Input
your Arduino. The intuitive language and ability to easily plot sensor data draw many Arduino users to
(http://playground.arduino.cc/Main/InterfacingWithHardware#InputTOC)
MATLAB. Learn more about plot types available in MATLAB here:
(http://playground.arduino.cc/Main/InterfacingWithHardware#Output)
built-in math, engineering,
User Interface
(http://playground.arduino.cc/Main/InterfacingWithHardware#ui)
-
Storage
http://www.mathworks.com/discovery/gallery.html
(http://www.mathworks.com/discovery/gallery.html)
(http://playground.arduino.cc/Main/InterfacingWithHardware#Storage)
-
Communication
http://www.mathworks.com/help/supportpkg/arduino/ug/tune-and-monitor-model-running-onarduino-mega-2560-hardware.html
(http://playground.arduino.cc/Main/SketchList)
(http://www.mathworks.com/help/supportpkg/arduino/ug/tune-and-monitor-model-running-onLibraries
arduino-mega-2560-hardware.html)
Snippets and Sketches
(http://playground.arduino.cc/Main/LibraryList)
-
Tutorials
Learn more:
(http://playground.arduino.cc/Main/TutorialList)
Participate
>> a = arduino('COM5');
(http://playground.arduino.cc/Main/Participate)
-
Formatting guidelines
PmWiki
(http://playground.arduino.cc/PmWiki/PmWiki)
>> writeDigitalPin(a,13,1);
WikiSandBox training
(http://playground.arduino.cc/Main/WikiSandbox)
-
>> delete(a)
Basic Editing
(http://playground.arduino.cc/PmWiki/BasicEditing)
-
Documentation index
(http://www.pmwiki.org/wiki/PmWiki/DocumentationIndex)
>> a = arduino('com5','Uno','libraries','Adafruit\MotorshieldV2');
>> shield = addon(a,'Adafruit\MotorshieldV2')
>> s = servo(shield,1);
>> writePosition(s,0.5)
>> dcm = dcmotor(shield,1);
>> start(dcm)
>> pause(4)
>> stop(dcm)
>> sm = stepper(shield,1,200,'RPM',10)
>> move(sm,10)
Share
NEWSLETTER
2015 Arduino
(https://twitter.com/arduino)
Contact us (http://arduino.cc/en/Main/ContactUs)
(http://www.facebook.com/official.arduino)
(http://www.flickr.com/photos/arduino_cc)
(http://youtube.com/arduinoteam)
(https://plus.google.com/+Arduino)