Initial zero value of every variable in Simulink
Mostrar comentarios más antiguos
Hello:
I have created a cosimulation control system for ADAMS/Car in Simulink, solving with a discrete solver. I have some blocks that make divisions and the problem is that when the simulation starts, every variable begins with a value of zero even it is a constant (I have checked with the debugger). For this reason, I have error and the simulation does not run.
What can I do to avoid this zero-initialization of the variables?
Thank you in advance.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Modeling en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!