Floating Points operations for simulink model
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sufiyan
2024-1-15
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!