SimBlockTicToc

Versión 1.0 (54,2 KB) por Zihao Liu
Measure execution time of your Simulink Block using MATLAB's tic toc.
175 Descargas
Actualizado 23 may 2020

Ver licencia

Measuring the execution time of specific Simulink blocksets may be difficult to achieve, especially in Rapid Accelerator mode to understand the execution time on the specific simulation target.

In recent MATLAB versions, tic toc supports Code Generation. This means they can be used to time not just codes but also Simulink block. Without using Simulink Desktop Real-Time, or Simulink Real-Time, there is none (as I was searching for my research project) explicit method to measure execution time. This demo project provides a simple way to do so - one simply needs to open their Simulink model in a newer MATLAB version (I used MATLAB R2019b).

Citar como

Zihao Liu (2025). SimBlockTicToc (https://es.mathworks.com/matlabcentral/fileexchange/75888-simblocktictoc), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019b
Compatible con cualquier versión desde R2019b
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0