Simulink logging intervals with discrete and continuous blocks
古いコメントを表示
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 件のコメント
Paul
2024 年 7 月 7 日
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?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Prepare Model Inputs and Outputs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!