Simulink data inspector missing some logged signals

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 >> Simulink.sdi.clear
Any help would be appreciated. Thanks in advance.

 Réponse acceptée

Urmila Rajpurohith
Urmila Rajpurohith le 9 Mar 2020

1 vote

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 commentaire

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!

Connectez-vous pour commenter.

Plus de réponses (1)

Dominic Zucchini
Dominic Zucchini le 14 Juin 2023

4 votes

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

Catégories

Produits

Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by