How can I get a triggered subsystem (samples a Simelectronics circuit) to output on the same cycle it's triggered.

1 view (last 30 days)
I want a triggered subsystem containing a matlab function block to output on the same cycle it's triggered. Currently the Sample and Hold blocks I'm using to sample the circuit and feed into the subsystem stay at 0 unless I delay the output of the subsystem using either a unit delay block, or a rate transition block. This then causes the subsystem to output the previous calculated output, instead of the current one. Any help would be greatly appreciated.

Answers (0)

Categories

Find more on Electrical Systems 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!