- 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.
- Add the parent folder in which the files “Battery.slx” and “+Batteries_lib” package 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.
- https://www.mathworks.com/help/slrequirements/ug/requirements-links-for-library-blocks-and-reference-blocks.html#mw_da43853d-ba90-4779-b00b-8265378ccf42
- https://www.mathworks.com/help/slrequirements/ug/load-and-resolve-links.html
- https://www.mathworks.com/help/matlab/matlab_env/what-is-the-matlab-search-path.html