Battery-Intelligence-Lab / multiscale-coupling

Repository for the paper "multiscale coupling of surface temperature with solid diffusion in large lithium-ion pouch cells"
Other
10 stars 1 forks source link

Bug: Local Path Definition #2

Closed jsimonclark closed 10 months ago

jsimonclark commented 2 years ago

Bug: the path definition in Battery_model.m is hard coded as the local path on the developer's machine (C:\Users\Jie\Desktop\Github)

Possible Solution: you can make this more generic by defining a path variable that identifies the actual location of the folder on the user's system. You might try calling either pwd() or mfilename('fullpath') from within Battery_model.m

davidhowey commented 10 months ago

thanks @jsimonclark - appreciated. have updated the code:

localpath = pwd();
model.modelPath(localpath);