Invalid argument "simscapeelectricalsps".

7 visualizaciones (últimos 30 días)
W J
W J el 7 de Oct. de 2023
Editada: Walter Roberson el 20 de Mzo. de 2025
>> 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 comentarios
Walter Roberson
Walter Roberson el 16 de Mayo de 2024
Try
power_V2G
for older versions of MATLAB.
志侠
志侠 el 16 de Mayo de 2024
Successfully resolved. Cheers.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Oct. de 2023
That structure of directory names for Simscape Electrical examples appears to be new as of R2023b.
power_singlephaseASM
with no "openExample"
  16 comentarios
Justine Joshua
Justine Joshua el 20 de Mzo. de 2025
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 el 20 de Mzo. de 2025
Editada: Walter Roberson el 20 de Mzo. de 2025
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by