Error in MATLAB R2021a: Example Not Found in Specified Path

8 ビュー (過去 30 日間)
syed khaleduzzaman
syed khaleduzzaman 2024 年 8 月 28 日
回答済み: Animesh 2024 年 8 月 28 日
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 日
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 Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by