フィルターのクリア

Error for Gain block in Simulink

5 ビュー (過去 30 日間)
Christo van Rensburg
Christo van Rensburg 2020 年 7 月 15 日
コメント済み: Mathieu NOE 2021 年 1 月 8 日
Hi there, I'm getting the following error when I try to type "1/(Ih+Ib)" into the parameter value of the Gain block in Simulink.
Both Ih and Ib are defined constants in the MATLAB workspace.
The error is: "Invalid setting in '.../Gain' for parameter 'Gain'."
Any advice on why this is not working. Seems like a simple thing that should not be a problem.
Thanks
  3 件のコメント
AQILAH IZAM
AQILAH IZAM 2021 年 1 月 8 日
hi , i have the same problem , so how i want to solve it . thankyou
Mathieu NOE
Mathieu NOE 2021 年 1 月 8 日
hi
why not define directly in the workspace :
gain =1/(Ih+Ib)
and use that "gain" in the simulink gain block parameter

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by