Floating Points operations for simulink model
4 views (last 30 days)
Show older comments
I'm trying to calculate the floating point operatins required for a simulink model this is complex model which cannot be done with some simple counting of basic operations.
I was trying to use socModelAnalyzer(), however it fails during the build. Is there any better way or tool to calculate the number of floating point operations required for the simulink model?
0 Comments
Answers (1)
Sufiyan
on 15 Jan 2024
Hi Nrukesari,
I understand that you want to calculate the floating point operations for a simulink model. But inspecific MATLAB and Simulink do not calculate the number of floating point operations.
You can definitely refer to the program available in the file exchange Counting the Floating Point Operations (FLOPS) - File Exchange - MATLAB Central (mathworks.com). This program counts FLOPS (Floating point operations) by scanning and parsing through each line of the MATLAB code.
You can also refer to the below MATLAB Ans for more information.
Hope it helps!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!