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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/245723/pic3.png)
![pic3.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/245723/pic3.png)
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Environment Customization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!