How to sort an array efficiently in Simulink?
Mostrar comentarios más antiguos
I am trying to sort a given array in ascending order using Simulink blocks. Is there any block available which does this. If no, how could this be done efficiently in Simulink?
Respuesta aceptada
Más respuestas (1)
Kirankumar Bacchewar
el 15 de Oct. de 2021
0 votos
Even the sort function from Matlab is not effecient, I see lot of overhead. In my case, the execution time reduced drastically after modifying(partial re-using) the generated code from Matlab sort in simulink. This modified code was then included back into the model as legacy code.
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!