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

조회 수: 58 (최근 30일)
Mohamed Althaf
Mohamed Althaf 2023년 12월 12일
댓글: Walter Roberson 2024년 11월 7일
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일
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
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by