採用された回答

Mark McBroom
Mark McBroom 2019 年 1 月 28 日

1 投票

For the gain block, what are the datatypes for Signal and Parameter? My guess is data type of Parameter is integer, so gain is getting clipped to zero.

1 件のコメント

devinda Molligoda
devinda Molligoda 2019 年 1 月 29 日
Thanks Mark,
I was thinking the problem is in the devision operation, but as you mentioned the gain block with uint16 may not hold a non integer value as the gain.
BR,
Devinda

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by