How to customize a library with battery models built by batteryBuilder app?
5 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Xiangchun
on 19 Aug 2025
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
0 Comments
See Also
Categories
Find more on Sources 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!