How to customize a library with battery models built by batteryBuilder app?

Hi,
I'm trying to add a custom library to the Library Bowser by using this instruction: Add Libraries to Library Browser and Quick Insert.
The library I want to create contains battery models built with the BatteryBuilder app. However, these battery models need to reference certain package files located in the package folders. Since the package folder path can’t be added globally, I’m wondering if there’s a way to add a BatteryBuilder-based battery model library to a custom library, so that I can access it with Library Browser.
Thanks in advance for your help.

답변 (1개)

Xiangchun
Xiangchun 2025년 8월 19일
Hi @Ye,
We need to add the folder (and its subfolders), containing the files and folders automatically generated by the Battery Builder from Simscape Battery, including the namespace folders, to the MATLAB search path.
See more details on Simscape namespace folder for custom block libraries: Building Custom Block Libraries - MATLAB & Simulink.
See more details on MATLAB search path:
Best wishes,
Xiangchun

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

제품

릴리스

R2025a

질문:

Ye
2025년 8월 14일

답변:

2025년 8월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by