Problem with running simulink block diagram in discrete mode

조회 수: 2 (최근 30일)
Pouya Jamali
Pouya Jamali 2012년 10월 31일
I tried to run a Simulink block diagram which consists three difference blocks ... but it's not working properly ... I tried to diagnose the problem by monitoring the signal values. I found that the output value for the difference blocks is not used. I don't know what is this and what's the problem ... please help me
  댓글 수: 10
Sachin Ganjare
Sachin Ganjare 2012년 10월 31일
편집: Sachin Ganjare 2012년 10월 31일
Probabaly you did not check your output in scope correctly, rather take it in workspace & check, you will find non zero value as initial output
Pouya Jamali
Pouya Jamali 2012년 10월 31일
Ow, I think the problem is misunderstood ... I should explain it more efficient! using show port values I've monitored all the signals in my block diagram. all the signals are working properly just before passing through difference block. The output of the difference block is not used all the time during simulation. and I think it cause the final output to be zero which must be not.

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

답변 (1개)

Sachin Ganjare
Sachin Ganjare 2012년 10월 31일
Check your output min & max values in block configuration.
  댓글 수: 1
Pouya Jamali
Pouya Jamali 2012년 10월 31일
I haven't specified min and max for the output... every thing is by default.

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

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by