compute computational time
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
i am running a simulation which have 2 blocks s-function (each represents different algorithm) in one simulink window. i want to make comparison between these two algorithms in terms of its computational time.
is that possible if i want to calculate its computational time for each blocks when run the simulation?
i know that we can use tic toc or cputime command if we run the simulation from m-file. any way if we want to know directly from simulink? Thank you in advance.
0 Kommentare
Antworten (1)
Ben
am 23 Mär. 2012
Tick the 'profile' box in the Simulink tools menu, then run your simulation again.
Siehe auch
Kategorien
Mehr zu Block and Blockset Authoring finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!