Initial condition from external source for discrete integration diuring runtime

6 次查看(过去 30 天)
I have a discrite integration with simulink and externaly added the condition:
when changing the value of external source (in my case mec_init_pos) - does it have influence on simulation integration or just for strating simulation and very first initialization of the integration?

采纳的回答

Fangjun Jiang
Fangjun Jiang 2025-1-17
The value of "mec_init_pos" could be constant or dynamic, but in this case, only its value at the begining of the simulation (e.g. t=0) would be taken to set the initial value of the integrator.
When you enable "external reset", then the dynamic value could be taken depending on the external reset signal.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by