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 个评论

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?
Successfully resolved. Cheers.

请先登录,再进行评论。

 采纳的回答

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

16 个评论

Same error while opeing
openExample('simscapeelectricalsps/InductionMotorDriveFieldOrientedControlExample')
In older versions of MATLAB, that example is available as
power_motordrive_IM_FOC
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')
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!
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 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by