Simulink data inspector missing some logged signals

96 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Urmila Rajpurohith
Urmila Rajpurohith il 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 Commento
Marcelo Fernandes
Marcelo Fernandes il 13 Mag 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!

Accedi per commentare.

Più risposte (1)

Dominic Zucchini
Dominic Zucchini il 14 Giu 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

Categorie

Scopri di più su Data Logging in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by