export final point of Simulink signal to Workspace ?

조회 수: 9 (최근 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 CenterFile 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!

Translated by