Adding all the elements of a 1-d matrix/array in Simulink
Ältere Kommentare anzeigen
Hi
I have a variable named "power" that contains 25 constant values. I would like to sum them up using a function block in Simulink. I would like that to be done instantly in one timestep. Any suggestions to what can I use?
Thanks
Akzeptierte Antwort
Weitere Antworten (1)
Niklas Nylén
am 1 Apr. 2014
1 Stimme
Use the Add block with one single + in the "list of signs". See attached example.
Kategorien
Mehr zu Naming Conventions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!