openExampl​e('simscap​eelectrica​lsps/GridC​onnectedPV​ArrayExamp​le')

When I use the copy command option in Command window This error occurs ?
openExample('simscapepowersystems/DualActiveBridgeConverterExample')
Error using matlab.internal.examples.componentExamplesDir
Invalid argument "simscapepowersystems".
Error in findExample (line 11)
componentExamplesDir = matlab.internal.examples.componentExamplesDir(component);
Error in setupExample (line 6)
metadata = findExample(arg);
Error in openExample (line 30)
[workDir,metadata] = setupExample(exampleId, workDir);

5 件のコメント

Umar Farooq
Umar Farooq 2023 年 12 月 29 日
Same error while opeing openExample('simscapeelectricalsps/InductionMotorDriveFieldOrientedControlExample')
Walter Roberson
Walter Roberson 2023 年 12 月 29 日
In older versions of MATLAB, that example is available as
power_motordrive_IM_FOC
Umar Farooq
Umar Farooq 2024 年 1 月 16 日
編集済み: Walter Roberson 2024 年 7 月 30 日
What is the command to open
openExample('simscapeelectrical/BrushlessDCMotorExample')
in 2022b.
Mohamed Althaf
Mohamed Althaf 2024 年 1 月 17 日
If your Matlab system software does'nt support, Use Matlab Simulink Online., Load and save the model, then download it
Walter Roberson
Walter Roberson 2024 年 7 月 30 日
ee_motor_brushless_dc

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

 採用された回答

Walter Roberson
Walter Roberson 2023 年 12 月 12 日

2 投票

In previous releases (before R2023b) the command to invoke that example is
ee_dual_active_bridge_control
This requires Simscape Electrical to be installed

6 件のコメント

shahin Heidari
shahin Heidari 2024 年 2 月 25 日
編集済み: Walter Roberson 2024 年 7 月 30 日
dear Walter
can you help me with this one:
openExample('simscapeelectricalsps/MicroGridIslandedOperationExample')
i use matlab r2022a and when i use this code i get exact same error.
Walter Roberson
Walter Roberson 2024 年 2 月 25 日
power_Microgrid_IslandedOperation_DroopControl
Shamoil
Shamoil 2024 年 7 月 30 日
Hi Walter, could you help me with this one please. Using 2022b currently.
openExample('simscapeelectrical/PMSMPositionControlExample')
Walter Roberson
Walter Roberson 2024 年 7 月 30 日
ee_pmsm_position_control
Abderrahim
Abderrahim 2024 年 11 月 6 日
Hello Walter, could you please help me too with this one . i am using 2021b currently; many thanks
openExample('simscapeelectricalsps/PVArrayGridExample')
Walter Roberson
Walter Roberson 2024 年 11 月 7 日
@Abderrahim that used to be
power_PVarray_grid_det

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

その他の回答 (2 件)

Mohamed Althaf
Mohamed Althaf 2023 年 12 月 12 日

1 投票

I have

1 件のコメント

Walter Roberson
Walter Roberson 2024 年 7 月 30 日
The issue is that the user is using an older version of MATLAB that predates the examples being organized under simscapepowersystems

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

Mann Baidi
Mann Baidi 2023 年 12 月 12 日

0 投票

Hi,
I understand you would like to open the "DualActiveBridgeConverterExample" in your local computer. You can open the model using the following command:
openExample('simscapeelectricalsps/DualActiveBridgeConverterExample')
Hope this helps!

3 件のコメント

Mohamed Althaf
Mohamed Althaf 2023 年 12 月 12 日
No Sir Its repeating the same error
_______
Error using matlab.internal.examples.componentExamplesDir
Invalid argument "simscapeelectricalsps".
Error in findExample (line 11)
componentExamplesDir = matlab.internal.examples.componentExamplesDir(component);
Error in setupExample (line 6)
metadata = findExample(arg);
Error in openExample (line 30)
[workDir,metadata] = setupExample(exampleId, workDir);
Mann Baidi
Mann Baidi 2023 年 12 月 12 日
For opening the example you need to have the "Simscape" Toolbox.
Walter Roberson
Walter Roberson 2024 年 7 月 30 日
The issue is that the user is using a version of MATLAB that predates the simscapepowersystems reoganization. The user needs to use
ee_dual_active_bridge_control

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

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by