Matlab function in Simulink

조회 수: 1 (최근 30일)
Ngoc Anh Nguyen
Ngoc Anh Nguyen 2020년 12월 3일
댓글: Ngoc Anh Nguyen 2020년 12월 3일
Hi,
I have been using a simple matlab function in Simulink, which has an input connected to a constant block assigned to 2. However along the simulation I find out that for the first 0.25 ms this input is somehow always 1, as shown in the picture below.
I'm wondering whether it is a default delay set inside this block. Could you please tell me more details and how to remove it?
Thank you in advance,
Kind regards,
Anh Nguyen
  댓글 수: 2
Fangjun Jiang
Fangjun Jiang 2020년 12월 3일
You need to provide more details such model diagram, solver setting, etc.
Ngoc Anh Nguyen
Ngoc Anh Nguyen 2020년 12월 3일
Hi jiang,
Thank you for the reply, I have found the reason it s due to the content of my program itself. Sorry for an awkward question.

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by