Simulink write to array index
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Goodmorning,
Which block should be used to write to a specific index of an array in Simulink.
Eg. I have a signal with an array [2, 1, 8, 5] and I want to write a 2 to index 3, keeping the other values equal. This should result in an array [2,1,3,5].
Should this really be done by a matlab function?
Kr, BV
0 Kommentare
Antworten (2)
Birdman
am 20 Jul. 2018
Of course it can be done. Check the attached files.
1 Kommentar
Antony Smith
am 26 Mai 2022
I s there really no 'inverse' block to the "Index Vector" block??
Seems like quite an oversight on behalf of simulink functionality?
Siehe auch
Kategorien
Mehr zu Sources 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!