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

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!
Babak

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

質問済み:

2014 年 9 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by