Battery parameter estimate code cant run.

2 views (last 30 days)
wongsagorn
wongsagorn on 19 Nov 2022
Edited: Gowthami on 22 Nov 2022
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.

Answers (1)

Gowthami
Gowthami on 22 Nov 2022
Edited: Gowthami on 22 Nov 2022
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,

Community Treasure Hunt

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

Start Hunting!