Time Logger for Stateflow

Version 1.0.0.0 (205 ko) par Roni Peer
This function will log the time each state was active during simulation.
787 téléchargements
Mise à jour 25 fév. 2013

Afficher la licence

When running long Simulations, you sometimes want to know how long each state was active, with Simulation time. This function does this.

This function will run a Simulink model that contains Stateflow charts.
It will time how long each state was active and display it in a table.

It uses the DataLogs format for logging each state, after making sure all states are logged.

Inputs: Model Name - mdlName
Outputs: Table

Example use: Stateflow_Time_Logger('example_sf_car')

I've added two example models for testing: example_sf_car, example_yoyo

Read the help in the m-file for more info.

Citation pour cette source

Roni Peer (2024). Time Logger for Stateflow (https://www.mathworks.com/matlabcentral/fileexchange/40505-time-logger-for-stateflow), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2012b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Prepare Model Inputs and Outputs dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0