export final point of Simulink signal to Workspace ?
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Khaled Abojlala
il 30 Mar 2017
Commentato: Tong Zhao
il 19 Feb 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?
0 Commenti
Risposta accettata
Aniruddha Katre
il 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Prepare Model Inputs and Outputs in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!