Unit Delay Block using Matlab Function Block in Simulink

3 visualizaciones (últimos 30 días)
Conner Garcia
Conner Garcia el 31 de Mayo de 2021
Comentada: Conner Garcia el 1 de Jun. de 2021
I would like to replace the unit delay block in simulink with a matlab function block. However, I don't know what to write for the code inside the matlab fcn block to be able to get the exact same results as the unit delay block. Any help on this?

Respuestas (1)

Walter Roberson
Walter Roberson el 31 de Mayo de 2021
I do not think that is possible using a MATLAB Function Block. I think you would have to use a Level-2 S Block (potentially implemented in MATLAB.)
  1 comentario
Conner Garcia
Conner Garcia el 1 de Jun. de 2021
thank you Mr.Roberson for your quick reply. I will try to figure another way.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Functions 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