I paste this command in MATLAB: "ee_motor_dc_pwm" and saying Unrecognized function or variable 'ee_motor_dc_pwm'.

The link to the command: PWM Controlled DC Motor
This command 'ee_motor_dc_pwm' is suppose to create an example of using a DC motor but the command isn't working and gives me 'Unrecognized function or variable 'ee_motor_dc_pwm' when I insert this command in MATLAB. Am I missing a add-on to display this?

 Accepted Answer

I figured it out. The add-ons I was missing was Simscape and Simscape Electrical

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Asked:

on 20 Jan 2022

Moved:

on 19 Dec 2022

Community Treasure Hunt

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

Start Hunting!