フィルターのクリア

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 Center および File ExchangeSimulink Environment Customization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by