Invalid argument "simscapeelectricalsps".

7 ビュー (過去 30 日間)
W J
W J 2023 年 10 月 7 日
編集済み: Walter Roberson 2025 年 3 月 20 日
>> 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 件のコメント
Walter Roberson
Walter Roberson 2024 年 5 月 16 日
Try
power_V2G
for older versions of MATLAB.
志侠
志侠 2024 年 5 月 16 日
Successfully resolved. Cheers.

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2023 年 10 月 7 日
That structure of directory names for Simscape Electrical examples appears to be new as of R2023b.
power_singlephaseASM
with no "openExample"
  16 件のコメント
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 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by