Clear Filters
Clear Filters

Error in MATLAB R2021a: Example Not Found in Specified Path

31 views (last 30 days)
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);

Answers (1)

Animesh
Animesh on 28 Aug 2024 at 18:31
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:

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!