ACTİVE BMS DESİGN AND BATTERY PACK

3 visualizaciones (últimos 30 días)
Sadullah
Sadullah el 17 de Mayo de 2025
hi everyone, I am student and I have a design project about Active balancing BMS.I desinged Bms but ı have a problem about battery builder toolbox.I've created a battery pack for my requirements and created library.That's okay but I cant use this pack in my circuit.I get a error about matlab path .and Don't found file .I cant solve problem.Can you help me pls?.Thx

Respuestas (1)

Adarsh
Adarsh el 28 de Mayo de 2025
The “Module not on path error that you are facing while using the custom Battery Pack library occurs when MATLAB is unable to find the required components in its search path.
The Batteries.slx” file references the components present in the “+Batteries_lib” package folder. This package folder defines a namespace for better organization of files.
Based on the error that you are facing it is evident that the “Batteries.slx” file is unable to find the “+Batteries_lib” package folder.
The error can be resolved in the following ways:
  1. Change the current working directory in MATLAB to the folder where the “Batteries.slx” and the “+Batteries_lib” package folders are present and use the files and libraries in that particular folder.
  2. Add the parent folder in which the files “Battery.slx” and “+Batteries_libpackage folder is present by right clicking the parent folder in MATLAB files window and select “Add to path” and then select “add folders and sub folders” option.
By using any of the two ways mentioned above, MATLAB would be able to find all the components of “+Batteries_lib” package resolving the given error.
For more information on resolving linking errors while using these libraries you can refer to the following documentation links:
I hope it helps.

Categorías

Más información sobre Propulsion and Power Systems en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by