Synchronize data output with clock pulses.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Jarrod Rivituso
il 28 Mar 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?
Risposte (1)
MarkB
il 29 Mar 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 Commenti
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!