Can I use recursive functions in my Embedded MATLAB block in Simulink?

1 view (last 30 days)
I would like to implement an algorithm which uses recursion in my Simulink model. Is the Embedded MATLAB block the appropriate way to accomplish this goal?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This change has been incorporated into the documentation in Release 14 Service Pack 3 (R14SP3). For previous releases, read below for any additional information:
The ability to use recursive functions in an Embedded MATLAB block is not available in Simulink.
There are no workarounds.

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!