File Exchange

image thumbnail

Matlab2Arduino

version 1.0.0 (27.4 KB) by Andreas Bernatzky
Control a Servomotor with Matlab and Arduino without using Arduino Toolbox

44 Downloads

Updated 04 Apr 2020

From GitHub

View license on GitHub

This is a simple light weight example to connect an Arduino to Matlab and control a Servomotor which is connected to the Arduino.

Plug your Servomotor to your Arduino Uno by the following default mapping: PinMapping by Default: ServoControlPin: 9 ~ PowerServo: 5V Arduino GNDpin: GND Arduino

Flash the Program MatlabArduinoServo onto your Arduino Plug your Arduino to your computer USB-Port. Start Servo.mlapp and select the correct COM-Port where your Arduino is plugged to. Have fun

Cite As

Andreas Bernatzky (2021). Matlab2Arduino (https://github.com/TypHo22/Matlab2Arduino), GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!