accessing simlog data for calculation

조회 수: 1 (최근 30일)
Vishnubharathi thirupathi
Vishnubharathi thirupathi 2019년 10월 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