Azzera filtri
Azzera filtri

Floating Points operations for simulink model

3 visualizzazioni (ultimi 30 giorni)
Nrukesari S H
Nrukesari S H il 3 Gen 2024
Risposto: Sufiyan il 15 Gen 2024
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?

Risposte (1)

Sufiyan
Sufiyan il 15 Gen 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!

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by