How to pause signal at specific time for specific time?

7 views (last 30 days)
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 Comments
Mohammed Nafiz Uddin
Mohammed Nafiz Uddin on 23 Jan 2022
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
Rümeysa Özer
Rümeysa Özer on 11 Apr 2022
Hey, did you solved the problem what did you use?
tanks

Sign in to comment.

Accepted Answer

Mark McBroom
Mark McBroom on 18 Jan 2020
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.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!