Simulink model without stop/terminate condition, how do I add one or other alternatives?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Simon F.
am 3 Jan. 2017
Bearbeitet: Simon F.
am 10 Jun. 2017
Hello, I am experimentering with this simulink model and I am wondering how I can stop the model from running programmatically when the mosaic is "done" (no more frames to stitch from the given input-video)?
I have tried all sorts of conditions, at all sorts of locations, using a stop block but it stops it when it stitched no or 2 pictures together, not sure how I can accomplish this?
Kind regards, Simon
0 Kommentare
Akzeptierte Antwort
Jordan Ross
am 9 Jan. 2017
Hello Simon,
It is my understanding that you are trying to stop the Simulation after the video has finished and all of the images have been stitched together.
In order to stop the simulation when there are no more frames to stitch together, you can use the "Stop Simulation" block on the "Reset" signal that comes out of the "Video From File" block. Please see the image below of the "Input" subsystem.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Block Libraries finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!