Borrar filtros
Borrar filtros

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

120 visualizaciones (últimos 30 días)
When I use the copy command option in Command window This error occurs ?
Copy commad : 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);
  4 comentarios
Umar Farooq
Umar Farooq el 16 de En. de 2024
What is the command to open "openExample('simscapeelectrical/BrushlessDCMotorExample')" in 2022b.
Mohamed Althaf
Mohamed Althaf el 17 de En. de 2024
If your Matlab system software does'nt support, Use Matlab Simulink Online., Load and save the model, then download it

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 12 de Dic. de 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
  2 comentarios
shahin Heidari
shahin Heidari el 25 de Feb. de 2024
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.

Iniciar sesión para comentar.

Más respuestas (2)

Mohamed Althaf
Mohamed Althaf el 12 de Dic. de 2023
I have

Mann Baidi
Mann Baidi el 12 de Dic. de 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!
  2 comentarios
Mohamed Althaf
Mohamed Althaf el 12 de Dic. de 2023
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 el 12 de Dic. de 2023
For opening the example you need to have the "Simscape" Toolbox.

Iniciar sesión para comentar.

Categorías

Más información sobre Simscape Electrical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by