Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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.

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by