필터 지우기
필터 지우기

Analyse at a time step

조회 수: 1 (최근 30일)
Mojtaba
Mojtaba 2012년 9월 17일
I am wondering how I can do the analysis per time step during the simulation in Simulink. for example calculating the result of a function for different values at each time step and find it maximum.

답변 (2개)

Ryan G
Ryan G 2012년 9월 17일
With R2012b (and with a bit more work in older versions) you can utilize simulink stepper to work through the model step by step.
If you want the max of the function you can simply use the minmax block.

Guy Rouleau
Guy Rouleau 2012년 9월 17일
If you need to execute a set of blocks or a function multiple time er time step, use the For or While action subsystem.
Type sl_subsys_semantics in MATLAB for examples

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by