empty signal coming into minimum block problem
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a Find non-zero block connected Min block. Find non-zero outputs a variable size matrix that shrinks for one element in every step because this is part of a switch off algorithm based on minimum value. Because switch off is in loop with non-zero block this means that in final step when everything is switched off the non-zero sends and empty signal to Min block and this gives error "The signal at input port 1 of 'Min' cannot have an empty size" I would like to simulation to finish by terminating the swich off operation and ending the algorithm without this error.
0 Kommentare
Antworten (2)
Kaustubha Govind
am 31 Jan. 2013
Not sure if this is what you're looking for, but you can use the Stop block to stop simulation based on an input condition.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sources 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!