Synchronize data output with clock pulses.
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi. I am using simulink for my project.
How do I pause and hold an uint8 input, so that it can output in a sample time which synchronize with every clock pulses?
I am currently using the Enabled Subsystem with a clock input of 2 period. The input is uint 8, which run infinitely. However, there are missing data at the output at every interval where the clock goes zero.
Urgent. Any reply will be appreciate. Thank you.
2 Kommentare
Jarrod Rivituso
am 28 Mär. 2011
Could you be more clear on exactly what the inputs to your Enabled Subsystem are? What is the input to the conditional input port (the one on top) and what is the actual subsystem input? What behavior do you expect that you aren't getting?
Antworten (1)
MarkB
am 29 Mär. 2011
I believe that the issue is with the "Enable" block inside the enabled subsystem. If you double-click on this block, you can access the settings that define how it behaves when the subsystem is disabled. I believe that if you set it to "held" instead of "reset" you will get the behavior that you want.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Subsystems finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!