'To workspace' loss of data

5 vues (au cours des 30 derniers jours)
DARSHAN N KANNUR
DARSHAN N KANNUR le 9 Juin 2020
Commenté : Kai Huong le 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 commentaire
Kai Huong
Kai Huong le 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.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by