フィルターのクリア

export final point of Simulink signal to Workspace ?

19 ビュー (過去 30 日間)
Khaled Abojlala
Khaled Abojlala 2017 年 3 月 30 日
コメント済み: Tong Zhao 2022 年 2 月 19 日
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?

採用された回答

Aniruddha Katre
Aniruddha Katre 2017 年 3 月 30 日
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 件のコメント
Khaled Abojlala
Khaled Abojlala 2017 年 3 月 31 日
Thanks a lot Aniruddha Katre for your help
Tong Zhao
Tong Zhao 2022 年 2 月 19 日
Thanky you Anruiddha, you just saved my day!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrepare Model Inputs and Outputs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by