Simulink data inspector missing some logged signals

조회 수: 100 (최근 30일)
Michael McGeehan
Michael McGeehan 2020년 2월 26일
답변: Dominic Zucchini 2023년 6월 14일
Simulink data inspector suddenly stopped logging some, but not all signals in my model. I can't think of any changes I would have made to the model that would have caused this. It seems that the data inspector is struggling to communicate with the model. I can stop logging signals that are currently working with the data inspector, but cannot start logging them again. I recently updated to matlab 2019b.
I've tried running >> sdi.Repository.clearRepositoryFile
Any help would be appreciated. Thanks in advance.

채택된 답변

Urmila Rajpurohith
Urmila Rajpurohith 2020년 3월 9일
It may be due to "Output options" or "logging intervals".
refer to the below documents and select options in the model accordingly
Hope this helps!
  댓글 수: 1
Marcelo Fernandes
Marcelo Fernandes 2021년 5월 13일
Urmila, I am having the same issue when I try to save signals from the Simulink Data Inspector while using Simscape Fluids. When using Simulink.sdi.exportRun(LastRunID), some of the timeseries for some signals don't show up, although they exist when I use the simlog from Simscape. Do you have any other suggestions? Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Dominic Zucchini
Dominic Zucchini 2023년 6월 14일
Hi,
I had a similar issue where signals I checked for logging in my model were not showing in the data inspector.
I found that Logging Mode was set to "Override" under Model Settings > Data Import/Export > Configure Signals to Log...
Switching the mode to "Log all signals specified in model" fixed the issue.
Regards,
Dom

카테고리

Help CenterFile Exchange에서 Data Logging에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by