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

129 次查看(过去 30 天)
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 个评论
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 2023-12-12
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 个评论
Abderrahim
Abderrahim 2024-11-6,22:38
Hello Walter, could you please help me too with this one . i am using 2021b currently; many thanks
openExample('simscapeelectricalsps/PVArrayGridExample')

请先登录,再进行评论。

更多回答(2 个)

Mohamed Althaf
Mohamed Althaf 2023-12-12
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
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 个评论
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by