Main Content

Motors, Servo Motors, and Motor Drivers

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 WriteSet servo motor to specified angle
M1M2DCMotorsControl power and direction of DC motor on port M1 or M2
M3M4DCMotorsControl power and direction of DC motor on port M3 or M4
EncoderMeasure rotation of motor in ticks
Battery ReadRead voltage of battery
L293D DC MotorControl power and direction of a DC motor (Since R2023a)
PCA9685 DC MotorControl power and direction of a DC motor (Since R2023a)
Continuous Servo WriteSet direction and speed of continuous rotation servo motor
Standard Servo ReadMeasure shaft position of standard servo motor in degrees
Standard Servo WriteSet shaft position of standard servo motor to angle specified in degrees

Topics

Featured Examples