error with coder.type('constant',value)
이전 댓글 표시
When I I get this error when I declare variable 'a' and 'b' as constants and take max(a,b):
Undefined function 'max' for input arguments of type 'coder.Constant'
Is there a way to get round this since 'a' and 'b' are really constants in my code?
Thank you!
댓글 수: 1
Azzi Abdelmalek
2013년 7월 31일
How did you declare them as a constant?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Coder에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!