Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by