필터 지우기
필터 지우기

Execution Time Calculation in Simulink

조회 수: 1 (최근 30일)
Saleh Msaddi
Saleh Msaddi 2020년 5월 18일
편집: Ameer Hamza 2020년 5월 19일
Hello friends,
I consider using simulating a model using only Simulink envirment. The Simulink model has MATLAB functions containing optimization algorithms, and no code generation is required. How can I find the time required to simulate the model?
ALL THE SIMULATION IS PERFORMED ON SIMULINK
Thanks!

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 5월 18일
편집: Ameer Hamza 2020년 5월 19일
See the profiling tools in Simulink: https://www.mathworks.com/help/simulink/ug/how-profiler-captures-performance-data.html. You can monitor the execution time of individual blocks.

추가 답변 (1개)

Fangjun Jiang
Fangjun Jiang 2020년 5월 18일
Like this?
tic;
sim('MyModel');
toc;

카테고리

Help CenterFile Exchange에서 Manual Performance Optimization에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by