accessing simlog data for calculation

1 次查看(过去 30 天)
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?pic3.png

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by