compute computational time

2 visualizaciones (últimos 30 días)
dab483
dab483 el 6 de Mzo. de 2012
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.

Respuestas (1)

Ben
Ben el 23 de Mzo. de 2012
Tick the 'profile' box in the Simulink tools menu, then run your simulation again.
  1 comentario
dab483
dab483 el 17 de Mayo de 2012
hi, try your suggestion. so, we read directly from the self time right?

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by