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

조회 수: 1 (최근 30일)
Md. Habibullah
Md. Habibullah 2014년 8월 26일
댓글: Michael Haderlein 2014년 8월 26일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by