How to pause signal at specific time for specific time?

5 次查看(过去 30 天)
Hello,
I have made a simulation in Simulink representing integrated INS and GPS systems. I'd like to simulate loosing GPS signal for specific time at specific time of simulation? Which block (or set of blocks) should I use? I've thought about using a MATLAB function block and zeroing GPS signal when needed but zero signal is still a signal and I'd like it to not bring any signal at all.
Thanks in advance.
  2 个评论
Mohammed Nafiz Uddin
Hey, have you managed to solve this problem? I want to do a similar thing where i want my signal to be inactive after a certain time. Can you please elaborate if you have done it successfully?
thanks

请先登录,再进行评论。

采纳的回答

Mark McBroom
Mark McBroom 2020-1-18
Use the SImulink Clock block to get the current simulation time. https://www.mathworks.com/help/simulink/slref/clock.html and then compare this to a constant block that has the time you want to loose GPS signal.

更多回答(0 个)

类别

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

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by