How to get the computation time of simulinkcomponent(.ssc) in simulink model(.slx)

1 visualizzazione (ultimi 30 giorni)
I would like to get the calculation time for a single component block in a slx file. simulink profiler did not give me the calculation time for a single .ssc block. the slx file is complex and the ssc block is a part of it.

Risposte (1)

Pramil
Pramil il 16 Ott 2024
Hi Usachi,
The Simulink Profiler identifies execution time for each and individual blocks present in a model.
It works for SSC blocks as well. Assuming that you got zero as total time for your SSC block, it does not means that the profiler is not able to compute the blocks time, but rather that the time taken by the block during execution is inconsequential hence therefore stated as zero.
You can know more about how does Simulink Profiler works through the following documentation:
Hope it helps.

Categorie

Scopri di più su Interactive Model Editing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by