![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1202483/image.png)
Battery parameter estimate code cant run.
1 次查看(过去 30 天)
显示 更早的评论
I am trying to use this code to find the parameters of the battery. By changing to use my own data file named teststruct as show in picture, but the code can't run and gives a warning like this. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1199388/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1199388/image.png)
0 个评论
回答(1 个)
Gowthami
2022-11-22
编辑:Gowthami
2022-11-22
Hi Wongsagorn,
It is my understanding that you are getting an error while loading data from MAT file.
Could you please check your MAT file and its name. From the screenshot that you have shared, I could see that executing the below command didn't return any field names:
>> open 'teststruct'
After executing the above command, it should show the field names as current, time, and voltage as shown in the below image,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1202483/image.png)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!