Effacer les filtres
Effacer les filtres

export final point of Simulink signal to Workspace ?

19 vues (au cours des 30 derniers jours)
Khaled Abojlala
Khaled Abojlala le 30 Mar 2017
Commenté : Tong Zhao le 19 Fév 2022
I have a signal which is changing over the time of simulation, the signal is time variant signal, the final value of this signal which I interested in. How can I transfer the final point of this signal to Workspace?

Réponse acceptée

Aniruddha Katre
Aniruddha Katre le 30 Mar 2017
You can connect the To Workspace block to the signal you want to log. In the block parameters, set the "Limit data points to last" option to "1" so that only the last data point is logged. Also, set the "Save format" to "array".
  2 commentaires
Khaled Abojlala
Khaled Abojlala le 31 Mar 2017
Thanks a lot Aniruddha Katre for your help
Tong Zhao
Tong Zhao le 19 Fév 2022
Thanky you Anruiddha, you just saved my day!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Prepare Model Inputs and Outputs dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by