How to open simulink example in matlab?

I want to open the example of Lithium Battery Cell-Two RC Branch Equivalent Circuit simulink model. I copied the command provided on the documentation of this example. The command was this:
openExample('simscape/LithiumBatteryCellTwoRCBranchEquivalentCircuitExample')
I am getting this error:
Error using findExample
Unable to find "simscape/LithiumBatteryCellTwoRCBranchEquivalentCircuitExample". Check the example name
and try again.
Error in setupExample (line 6)
metadata = findExample(arg);
Error in openExample (line 30)
[workDir,metadata] = setupExample(exampleId, workDir);
Could someone please help me? How can I open this example?

Respuestas (1)

Sam Chak
Sam Chak el 19 de Sept. de 2023

0 votos

If you cannot find the example file in the MATLAB examples directory, then it is most likely that this example was introduced in a newer release. If you upgrade to the latest release, R2023b, you will have access to that example file.

Categorías

Más información sobre Modeling en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 19 de Sept. de 2023

Respondida:

el 19 de Sept. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by