Simulink logging intervals with discrete and continuous blocks
Afficher commentaires plus anciens
Hi all,
In my Simulink Model are some Discrete Blocks (implemented as Level-2 Matlab S-Function) with period time T and also some continuous blocks.
Is it possible to log the output only when the discrete blocks change their output?
Thanks in advance, I really appreciate your answer.
1 commentaire
Paul
le 7 Juil 2024
By "change their output" do you mean a) when the value of the ouput changes, or do you mean b) when the block is updated at every T seconds, regardless of the value of the output?
It sounds like the model has multiple,discrete-time blocks. If the answer is (a), does the ouput of a specific block have to change, or a specific subset of them, or any of them, or all of them?
Do you want to log the ouput of the continuous time blocks as well only at the time determined by (a) or (b) above?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur General Applications dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!