フィルターのクリア

Simulink is giving error in the case I use If statement in simulink matlab function block.

1 回表示 (過去 30 日間)
Ömer Abdo
Ömer Abdo 2021 年 2 月 2 日
Hello,
I have to use 3 different if statements in Matlab Function block in Simulink. When I run the simulation, it gives an error and refuse to run data of 'double' type in Matlab Function block. I tried to find the required data type for this case but, unfortunately, I coudn't find the answer. So I tried to change data type randomly using 'convert' block. This couldn't solve the problem. May you help me?
Note: There is no errors when I use Matlab Function block with no if statements.

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by