I want to open "openExamp​le('simsca​peelectric​al/Brushle​ssDCMotorE​xample')" example in MATLAB 2022b

31 views (last 30 days)
I want to open "openExample('simscapeelectrical/BrushlessDCMotorExample')" example in MATLAB 2022b. But when i enter this in command window i get followling error. I want the code that can open this example in 2022b. I have the same issue for another example and someone send the old code/script that works in 2022b so i hope have also. please send me anyone if possible. Or email me this example by oepning in in 2023b at umarfarooq1060@gmail.com

Answers (1)

Cris LaPierre
Cris LaPierre on 16 Jan 2024
The openExample syntax wasn't introduced for this example until R2023a. See this answer: https://www.mathworks.com/matlabcentral/answers/2068171-matlab-example-file-in-previous-version?s_tid=srchtitle
In R2022b, you would run the following command in the Command Window to open the example.
ee_motor_brushless_dc
You can find this in the R2022b version of the doc:

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!