'To workspace' loss of data

5 Ansichten (letzte 30 Tage)
DARSHAN N KANNUR
DARSHAN N KANNUR am 9 Jun. 2020
Kommentiert: Kai Huong am 5 Mai 2023
I have 765 inputs to the simulink and i have set simulation time to 765 but when I use 'To workspace' blocking I am getting array of only 51 output data in workspace. Help me out.
  1 Kommentar
Kai Huong
Kai Huong am 5 Mai 2023
You have to change your "Sample Time" to fit your data interval, do not keep the default (-1). You can read the examples in this link http://www.ece.northwestern.edu/local-apps/matlabhelp/toolbox/simulink/slref/toworkspace.html to be clear.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Steven Lord
Steven Lord am 9 Jun. 2020
Is the "Limit data points to last" parameter described on this documentation page set to a smaller value than its default of Inf?

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by