MATLAB Answers


How to generate code for a model with tunable parameter avoiding an algebraic loop?

Asked by Babak
on 26 Sep 2014
How can one generate C code for the attached model?
Parameter Td needs to be tunable ion the generated code. Simulink complains that the model has an algebraic loop.
I tried doing it with "discrete transfer function block" but it won't make Td tunable.
Thanks for the help!


Sign in to comment.

0 Answers