Initial condition from external source for discrete integration diuring runtime
조회 수: 2 (최근 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?
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!