how to access timing parameters in simulink
Show older comments
hiiii iam working on simulink to develop a digital wireless receiver.For time synchronization i need to find the time difference between start time of two pulses.How can i access the time parameters(like start time and stop time) of pulses,their time differences,do time shifting etc? please reply thanking you
Answers (1)
Paulo Silva
on 1 Mar 2011
0 votes
For the detection look under the blocks Logic And Bit Operations
The time can be acquired with the Clock block
You want to save the time when a pulse is detected, use the rise detector connected and the Clock block connected to the Switch block, when the rise occurs the switch turns on and sends the clock to the ouput.
Now to save that time you can use a memory block.
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!