How do i get the slope of a running simulink file?

20 visualizaciones (últimos 30 días)
Anjali Mohan
Anjali Mohan el 7 de Jul. de 2022
Comentada: Anjali Mohan el 8 de Jul. de 2022
I need to find the varying slope of the given graph at a time gap of 0.25 second. This slope is required for further calculation and hence needs to be obtained whilst the simulink is running. Kindly find the input file attached below.

Respuesta aceptada

Andy Bartlett
Andy Bartlett el 7 de Jul. de 2022
Look at the Discrete Derivative block.
  1 comentario
Anjali Mohan
Anjali Mohan el 8 de Jul. de 2022
Thank you. It seems to work with a little adjustment in the gain value.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by