S-function: propagation error.

I've got a problem with S-function builder in simulink. I realized a complicated S-function, in input there are matrix with cond number very high. The results are wrong if the output is feed back for using at the next step. The error increase step by step, it starts at 10^-13 and it goes at 10^3.
How it's possible that? there are any propagation error?

댓글 수: 1

Kaustubha Govind
Kaustubha Govind 2012년 12월 27일
Do you use a Delay block in the feedback loop? This might be important if your S-function is a direct feedthrough block.

답변 (0개)

이 질문은 마감되었습니다.

제품

질문:

max
2012년 12월 27일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by