Simulink - store signal and output as vector
27 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to store a signal until time that I will define and than get the values which receive from the signal as vector
2 commentaires
Réponses (1)
Manas
le 11 Juil 2023
Hi Tamar,
You can save data from Simulink to a MAT-file using the To File block. To save it as an array, specify the Save format parameter as Array. Further, you can specify the sample period and offset at which to collect data points using the Sample time parameter.
You can also consider writing the input signal data to a workspace using the To Workspace block, however the data will not be available until the simulation pauses or stops.
Voir également
Catégories
En savoir plus sur Sources 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!