Simulink data inspector missing some logged signals

96 次查看(过去 30 天)
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
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