How to open simulink example in matlab?
Afficher commentaires plus anciens
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?
Réponses (1)
Sam Chak
le 19 Sep 2023
0 votes
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.
Catégories
En savoir plus sur Modeling dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!