Borrar filtros
Borrar filtros

export final point of Simulink signal to Workspace ?

24 visualizaciones (últimos 30 días)
Khaled Abojlala
Khaled Abojlala el 30 de Mzo. de 2017
Comentada: Tong Zhao el 19 de Feb. de 2022
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?

Respuesta aceptada

Aniruddha Katre
Aniruddha Katre el 30 de Mzo. de 2017
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 comentarios
Khaled Abojlala
Khaled Abojlala el 31 de Mzo. de 2017
Thanks a lot Aniruddha Katre for your help
Tong Zhao
Tong Zhao el 19 de Feb. de 2022
Thanky you Anruiddha, you just saved my day!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Signal Generation and Preprocessing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by