No simlog variable for power loss analysis

I am trying to estimate the dissipated power in the rectifiers and converters in my Simulink model. I have removed all algebraic loops and get no errors (only 3 warnings) when I run sim(model). I have all of the right settings for simulation data-logging and the sim command definitely simulates the model. However, at the end of it there is no simlog variable in my workspace. I have tried to use the command line to view it and that returns 'undefined function or variable'. My Matlab version is R2016b. Please let me know if there is something I'm missing that's causing this.
Thanks

답변 (1개)

Sabin
Sabin 2024년 12월 13일

0 개 추천

Two things you can check:
  1. In Configuration Parameters/Simscape the ‘Log simulation data’ is not set to ‘None’.
  2. If ‘Log simulation data’ is not set ‘None’ check in Solver Configuration -> Data Import/Export if the Parameter ‘Single simulation output’ is enabled or disabled. If ‘Single simulation output’ is enabled then you will have a single object as output, by default called out. In this situation to access the simlog you need to access out.simlog.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

도움말 센터File Exchange에서 Data Logging에 대해 자세히 알아보기

제품

릴리스

R2016b

질문:

2018년 11월 12일

답변:

2024년 12월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by