Simulink data inspector missing some logged signals

92 views (last 30 days)
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.

Accepted Answer

Urmila Rajpurohith
Urmila Rajpurohith on 9 Mar 2020
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 Comment
Marcelo Fernandes
Marcelo Fernandes on 13 May 2021
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!

Sign in to comment.

More Answers (1)

Dominic Zucchini
Dominic Zucchini on 14 Jun 2023
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

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!