Uploaded October 2026 | Updated November 2026, 1 day ago
Generative AI can create code, tests, and implementation plans quickly. Engineers still need to understand the design, evaluate alternatives, and demonstrate that requirements have been met.
Learn how engineers combine their domain knowledge and design intent with agentic AI, MATLAB®, and Simulink®. AI can reason about a problem and propose changes, while MATLAB and Simulink supply the modeling, simulation, testing, and visualization capabilities used to evaluate those changes.
This video shows an example of this in action, where an AI agent is directed to analyze a design, isolate the cause of a bug, generate a test case, and propose a fix. MATLAB and Simulink execute simulations, validate behavior, and provide the engineering evidence needed to review results, evaluate alternatives, and determine whether the design meets requirements.
By working with MATLAB and Simulink, agentic AI operates within the same engineering process used today to model systems, test behavior, verify requirements, and make design decisions. Engineers remain in charge while AI automates more of the supporting work. The same engineering process then covers more designs, more tests, and more iterations.
Related resources:
youtu.be/-G4H2DmhR28
- Learn how to get started: bit.ly/4tKcUTy
--------------------------------------------------------------------------------------------------------
Get a free product trial: goo.gl/ZHFb5u
Learn more about MATLAB: goo.gl/8QV7ZZ
Learn more about Simulink: goo.gl/nqnbLe
See what's new in MATLAB and Simulink: goo.gl/pgGtod
© 2026 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.
Generative AI can create code, tests, and implementation plans quickly. Engineers still need to understand the design, evaluate alternatives, and demonstrate that requirements have been met.
Learn how engineers combine their domain knowledge and design intent with agentic AI, MATLAB®, and Simulink®. AI can reason about a problem and propose changes, while MATLAB and Simulink supply the modeling, simulation, testing, and visualization capabilities used to evaluate those changes.
This video shows an example of this in action, where an AI agent is directed to analyze a design, isolate the cause of a bug, generate a test case, and propose a fix. MATLAB and Simulink execute simulations, validate behavior, and provide the engineering evidence needed to review results, evaluate alternatives, and determine whether the design meets requirements.
By working with MATLAB and Simulink, agentic AI operates within the same engineering process used today to model systems, test behavior, verify requirements, and make design decisions. Engineers remain in charge while AI automates more of the supporting work. The same engineering process then covers more designs, more tests, and more iterations.
Related resources:
youtu.be/-G4H2DmhR28
- Learn how to get started: bit.ly/4tKcUTy
--------------------------------------------------------------------------------------------------------
Get a free product trial: goo.gl/ZHFb5u
Learn more about MATLAB: goo.gl/8QV7ZZ
Learn more about Simulink: goo.gl/nqnbLe
See what's new in MATLAB and Simulink: goo.gl/pgGtod
© 2026 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.






![Developing and Embedding AI-Based SOC Estimation for BMS Using MATLAB
Learn how MATLAB® that can be used to develop and compress an AI model for battery state-of-charge (SOC) estimation, then deploy it to a microcontroller for real-time use in a battery management system (BMS).
With a single line of MATLAB code, you can generate standalone, generic C or C++ code for deep learning models created in MATLAB or imported from other frameworks. Begin by constructing and training a long short-term memory (LSTM) deep learning network for battery SOC prediction using the Deep Network Designer app in MATLAB. Then, apply neural network projection to compress the network by over 90%, optimizing it for efficient execution on a resource-constrained microcontroller. Finally, generate generic C code for the compressed LSTM model using the MATLAB Coder™ app. Once code generation is complete, the generated C code can be integrated with the remaining BMS firmware to predict SOC in real time.
The data set used for battery SOC estimation in this example can be found in [1]:
[1] Eleftheriadis, Panagiotis. “PoliMi-TUB Dataset - LG 18650HE4 Li-Ion Battery.” Mendeley Data, V1, 2024. http://bit.ly/3HOQLSf
Learn more:
- MATLAB and Simulink for Embedded AI: https://bit.ly/4g21mIh
- Compressing Neural Networks for Embedded AI: https://youtu.be/7uV3-eTB5es
- A Practical Introduction to Edge AI: https://youtu.be/ibm6ZRi6Sm4
Get a free product trial: https://goo.gl/ZHFb5u
Learn more about MATLAB: https://goo.gl/8QV7ZZ
Learn more about Simulink: https://goo.gl/nqnbLe
See whats new in MATLAB and Simulink: https://goo.gl/pgGtod
© 2025 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. Developing and Embedding AI-Based SOC Estimation for BMS Using MATLAB](https://i.ytimg.com/vi/tJZ_sr4jlWU/mqdefault.jpg)



