Info

This question is closed. Reopen it to edit or answer.

S-function: propagation error.

2 views (last 30 days)
max
max on 27 Dec 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
Kaustubha Govind
Kaustubha Govind on 27 Dec 2012
Do you use a Delay block in the feedback loop? This might be important if your S-function is a direct feedthrough block.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!