Error in MATLAB R2021a: Example Not Found in Specified Path

8 Ansichten (letzte 30 Tage)
syed khaleduzzaman
syed khaleduzzaman am 28 Aug. 2024
Beantwortet: Animesh am 28 Aug. 2024
when I put this line to open an example in the command section:
>> openExample('simscape/LithiumBatteryCellOneRCBranchEquivalentCircuitExample')
I am getting this message:
Error using findExample (line 22)
Example "LithiumBatteryCellOneRCBranchEquivalentCircuitExample" not found in "C:\Program
Files\MATLAB\R2021b\examples\simscape\examples.xml".
Error in openExample (line 30)
metadata = findExample(exampleId);

Antworten (1)

Animesh
Animesh am 28 Aug. 2024
The command you are using is for MATLAB R2023b and later versions. You can use the following command to open the "Lithium Battery Cell - One RC-Branch Equivalent Circuit" example in MATLAB R2021a:
ssc_lithium_cell_1RC
You can refer to the following MathWorks documentation for more information:

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by