How to open simulink example in matlab?

4 views (last 30 days)
Jagadish Babu
Jagadish Babu on 19 Sep 2023
Answered: Sam Chak on 19 Sep 2023
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?

Answers (1)

Sam Chak
Sam Chak on 19 Sep 2023
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.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!