How can I feed an array of data to my Simulink model when an event occurs?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Im feeding the array by a block called 'signal from workspace', and I want to start feeding this data when some distance is less then for example 50. I wrote a matlab fcn that checks the condition and returns zero or one. I also tried to use a trigger block from simulink, but it doesn't give good results when I simulate( it seems like that it did miss to feed the data).
I would appreciate if anyone could help out on how to feed pre-specified data to simulink based on events.
/Shant
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Event Functions 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!