MATLAB Answers

How to pause signal at specific time for specific time?

9 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.

  0 Comments

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.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Products


Release

R2019b

Translated by