# Custom battery on Simulink

**URL:** <https://forums.ipg-automotive.com/t/custom-battery-on-simulink/89>\
**Category:** CM4SL\
**Created:** [19 August 2021 03:42 UTC](https://forums.ipg-automotive.com/t/custom-battery-on-simulink/89 "2021-08-19T03:42:47Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![grams](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/g/cc9497/32.png) [@grams](https://forums.ipg-automotive.com/u/grams)\
**Post date:** [24 June 2025 15:06 UTC](https://forums.ipg-automotive.com/t/custom-battery-on-simulink/89/5 "2025-06-24T15:06:45Z")

</div>

Hello, i was following this reply to help me integrate my Battery model, i am using an Batemo blackbox which may cause the error i am having on the matlab build:

Error:The protected model C:\Program Files\Batemo Cell Model Custom\R2023a\Molicel\_INR18650P28A\_241c01110\Molicel\_INR18650P28A\_241c01110\_fs.slxp has been changed since it was created, or the file has been corrupted. The following may provide further information: No part found with the name:/codegen/configset\_grt/cs.mat

Here is the model for reference too

 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/803c34ea7d373a90a9884693f4a69156bb50fea4.png)

---

_[View the full topic](https://forums.ipg-automotive.com/t/custom-battery-on-simulink/89)._
