Main Content

Motors, Servo Motors, and Motor Drivers

R2026b
Design and implement robust motor control systems

Configure and design Simulink® models with motors, servo motors, and motor drivers to implement robust motor control systems for a wide range of applications.

Blocks

Servo Write blockServo WriteSet servo motor to specified angle
M1 M2 DC Motors blockM1M2DCMotorsControl power and direction of DC motor on port M1 or M2
M3 M4 DC Motors blockM3M4DCMotorsControl power and direction of DC motor on port M3 or M4
Encoder Arduino Motor Carrier block iconEncoderMeasure rotation of motor in ticks
Battery Read blockBattery ReadRead voltage of battery
M1 M2 DC Motors blockL293D DC MotorControl power and direction of a DC motor (Since R2023a)
M1 M2 DC Motors blockPCA9685 DC MotorControl power and direction of a DC motor (Since R2023a)
Arduino Continuous Servo Write iconContinuous Servo WriteSet direction and speed of continuous rotation servo motor
Arduino Standard Servo Read iconStandard Servo ReadMeasure shaft position of standard servo motor in degrees
Arduino Standard Servo Write iconStandard Servo WriteSet shaft position of standard servo motor to angle specified in degrees

Topics

Featured Examples