why the output of "ceil" becomes non-integer in embedded matlab function?

1 vue (au cours des 30 derniers jours)
Md. Habibullah
Md. Habibullah le 26 Août 2014
Commenté : Michael Haderlein le 26 Août 2014
I am working with embedded Matlab function in simulink and using the function "ceil" inside the embedded block. When I plot the output or observe the variable containing the function "ceil" in command window, it looks okay; always integer. But, if I try to use that variable containing "ceil" in other variables, it returns an error indicating the output of "ceil" function is non-integer. So, How can I solve this problem? Please help me. Thanks.

Réponses (0)

Catégories

En savoir plus sur MATLAB Coder 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