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

138 vues (au cours des 30 derniers jours)
Mohamed Althaf
Mohamed Althaf le 12 Déc 2023
Commenté : Walter Roberson le 7 Nov 2024 à 1:37
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 commentaires
Mohamed Althaf
Mohamed Althaf le 17 Jan 2024
If your Matlab system software does'nt support, Use Matlab Simulink Online., Load and save the model, then download it

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 12 Déc 2023
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 commentaires
Abderrahim
Abderrahim le 6 Nov 2024 à 22:38
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 le 7 Nov 2024 à 1:37
@Abderrahim that used to be
power_PVarray_grid_det

Connectez-vous pour commenter.

Plus de réponses (2)

Mohamed Althaf
Mohamed Althaf le 12 Déc 2023
I have
  1 commentaire
Walter Roberson
Walter Roberson le 30 Juil 2024
The issue is that the user is using an older version of MATLAB that predates the examples being organized under simscapepowersystems

Connectez-vous pour commenter.


Mann Baidi
Mann Baidi le 12 Déc 2023
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 commentaires
Mann Baidi
Mann Baidi le 12 Déc 2023
For opening the example you need to have the "Simscape" Toolbox.
Walter Roberson
Walter Roberson le 30 Juil 2024
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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by