Effacer les filtres
Effacer les filtres

Battery parameter estimate code cant run.

2 vues (au cours des 30 derniers jours)
wongsagorn
wongsagorn le 19 Nov 2022
Modifié(e) : Gowthami le 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.

Réponses (1)

Gowthami
Gowthami le 22 Nov 2022
Modifié(e) : Gowthami le 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!

Translated by