Why is Simulink Data Inspector not logging all time values for Simscape data?

I have enabled data logging for my Simscape model in MATLAB R2022a. However, after I view the signals/parameters in the Simulation Data Inspector, the plot is incomplete and some values are missing.
Why is Simulink Data Inspector not logging all time values for Simscape data?

 采纳的回答

This is likely happening because the option "Limit data points to last" is checked somewhere in the Configuration Parameters. Please check the following in the model's Configuration Parameters
  • "Limit data points to last" Data Import/Export >Additional parameters > Save options is not checked
  • "Limit data points to last" in Simscape > Data logging is not checked
Launch the Simscape Results Explorer and compare the results to that of the Simulation Data Inspector. They should match for the same parameter if the "Limit data points to last" is not checked anywhere in the model's Configuration Parameters.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Data Logging 的更多信息

产品

版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by