Invalid argument "simscapeelectricalsps".

>> openExample('simscapeelectricalsps/SinglePhaseASMExample')
while I got an error shows as following
please tell me what is causing this problem? or which toolbox is lack?
And how can I find all the toolboxes needed for examples?

댓글 수: 3

志侠
志侠 2024년 5월 16일
openExample('simscapeelectricalsps/VehicletoGridSystemExample')
while I got an error shows as following
please tell me what is causing this problem? or which toolbox is lack?
And how can I find all the toolboxes needed for examples?
Try
power_V2G
for older versions of MATLAB.
志侠
志侠 2024년 5월 16일
Successfully resolved. Cheers.

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2023년 10월 7일

2 개 추천

That structure of directory names for Simscape Electrical examples appears to be new as of R2023b.
power_singlephaseASM
with no "openExample"

댓글 수: 16

Umar Farooq
Umar Farooq 2023년 12월 29일
편집: Walter Roberson 2024년 5월 3일
Same error while opeing
openExample('simscapeelectricalsps/InductionMotorDriveFieldOrientedControlExample')
In older versions of MATLAB, that example is available as
power_motordrive_IM_FOC
Aboozar S
Aboozar S 2024년 1월 26일
편집: Walter Roberson 2024년 1월 26일
what about this example:
openExample('simscapeelectrical/PiezoBenderEnergyHarvesterExample')
I'm on R2021a
In R2021a, that example is available as
ee_piezo_bender_energy_harvester
I am using R2023a can you find this
openExample('simscapeelectricalsps/SeriesCompensatedNetworkExample')
@Walter Roberson could you please find this?
openExample('simscapeelectrical/BLDCSpeedControlExample')
I'm using 2022b
can you please find this as well i am also using 2022b
openExample('simscapeelectrical/PeltierCoolerExample')
@Walter Roberson could you please find this?
I'm using 2022b
openExample('simscapeelectricalsps/ACDCACConverterExample')
@Walter Roberson can you please find this?
openExample('simscapeelectricalsps/ResidentialPVArrayExample')
power_PV_Home_OnGrid_SolarSystem
Justine Joshua
Justine Joshua 2025년 3월 20일
Hi! How about this example?
openExample('simscapeelectricalsps/SmallScaleMicroGridExample')
May I also ask how we can find the list of examples for older MATLAB versions so we can just consult there? Thanks!
Walter Roberson
Walter Roberson 2025년 3월 20일
편집: Walter Roberson 2025년 3월 20일
The older command for that is
power_microgrid
There is no known list of examples for older versions of MATLAB.
What I do in cases such as these, is to google the final component of the openExample name on site:mathworks.com . That (mostly) gets me the current documentation page with the example. Then I extract some keywords from the title of that current page, and search for it in older versions of the Mathworks documentation, https://www.mathworks.com/help/doc-archives.html

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

질문:

W J
2023년 10월 7일

편집:

2025년 3월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by