set initial value for a signal and then rewrite it
3 次查看(过去 30 天)
显示 更早的评论
Hi, I have a loop in which an observer observe the states and then backward it to a controller. There need to be an initial value for one signal. That signal will start the simulations and gets other values in the loop. Does anyone know how to set the initial value for such system in Simulink?
0 个评论
采纳的回答
Jyotish Robin
2017-10-9
编辑:Jyotish Robin
2017-10-9
Hi!
As far as I understand you are looking for a way in which you can specify the initial value for a signal in a Simulink model.
The IC block sets the initial condition of the signal at its input port, for example, the value of the signal at the simulation start time (t_start). The block does this by outputting the specified initial condition when you start the simulation, regardless of the actual value of the input signal. Thereafter, the block outputs the actual value of the input signal.
Hope this helps!
Regards,
Jyotish
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!