If I can set the output of memory block during simulation?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Simon
am 13 Aug. 2015
Beantwortet: Walter Roberson
am 13 Aug. 2015
I use memory block to record the number of iteration. Anyway, when the iteration gets a threshold, I want to set the value of memory back to zero, and do the sum up again. Now I'm thinking about using 'set_param' in m file to control the value of memory. But I don't know how to change the value of memory. I think change the input and output of memory block also works for me.
Could anyone help me?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Programmatic Model Editing 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!