Error in MATLAB R2021a: Example Not Found in Specified Path

38 次查看(过去 30 天)
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);

回答(1 个)

Animesh
Animesh 2024-8-28,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:

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by