Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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.

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by