Time Logger for Stateflow

버전 1.0.0.0 (205 KB) 작성자: Roni Peer
This function will log the time each state was active during simulation.
다운로드 수: 787
업데이트 날짜: 2013/2/25

라이선스 보기

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.

인용 양식

Roni Peer (2024). Time Logger for Stateflow (https://www.mathworks.com/matlabcentral/fileexchange/40505-time-logger-for-stateflow), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0