accessing simlog data for calculation
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi.
I have a subsystem where it has 12 cells, each has its own temperature. I used simlog to plot temperature of cells individually, it worked. As I need to calculate the mean temperature of 12 cells, I used 'mean' block, it is good. I use scope to view the results. Now, I need to calculate and plot the mean temperature value of 12 cells (I cannot use the graph from scope window, because later in my work I will have to process more data. So, I am trying to get this done using .m file)
Is there a way to calculate and plot mean value of 12 cells using simlog command? say for example, I assign a variable for each cell temperature value accessed via simlog command (cell1 = simlog_ohne_PCM.Cell_cooling.Cellassembly.Cell2.Thermal_Model1.T; cell2= ...., cell3= ......, and so on, later avg temp = cell1+cell2...+cell12/12)
Could anyone suggest here?

0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Composite Components finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!