Error using transfer functions
Mostrar comentarios más antiguos
Please help me sort out the issue. I am not understanding why the gain block dimension is shown as 2, where as i am expecting only 1. Please see the attached screenshot of simulink blocks.
7 comentarios
Birdman
el 7 de Nov. de 2017
Please share the simulink model(export to r2017a)?
Birdman
el 7 de Nov. de 2017
You do not have to export then. Just send.
Shyam
el 7 de Nov. de 2017
Birdman
el 7 de Nov. de 2017
I am not getting any error in simulation, but it is running very slow.
Shyam
el 7 de Nov. de 2017
Respuesta aceptada
Más respuestas (1)
Shyam
el 30 de Nov. de 2017
0 votos
14 comentarios
Birdman
el 30 de Nov. de 2017
I solved it by changing your solver to Fixed-Step and adding some delays to prevent algebraic loop. But please make sure that your model is reasonably defined.
Birdman
el 30 de Nov. de 2017
Values that will not cause algebraic loop. You do not need to change to slx.
Shyam
el 30 de Nov. de 2017
Birdman
el 30 de Nov. de 2017
No, you have to download it first to your computer. Then open it at Simulink :)
Shyam
el 30 de Nov. de 2017
Shyam
el 30 de Nov. de 2017
Birdman
el 30 de Nov. de 2017
What is your MATLAB version?
Shyam
el 30 de Nov. de 2017
Birdman
el 30 de Nov. de 2017
Then you can easily open this one in the latest version. Therefore I am not sending the exported version to R2016b.
Shyam
el 30 de Nov. de 2017
Ramu Nair R
el 30 de Nov. de 2017
Editada: Ramu Nair R
el 1 de Dic. de 2017
I installed latest version and opened the model. I am trying to use memory blocks instead of delay block. Also, is it necessary to use z domain for transfer function. The block is a part of a bigger system, which are in continuous time, fixed step and solver is Runge-kutta
Ramu Nair R
el 1 de Dic. de 2017
Editada: Ramu Nair R
el 1 de Dic. de 2017
It worked. The problem was with initial condition. Thank you very much for your time and effort.
Categorías
Más información sobre General Applications en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!