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?

回答 (1 件)

Sam Chak
Sam Chak 2023 年 9 月 19 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

質問済み:

2023 年 9 月 19 日

回答済み:

2023 年 9 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by