Why do I get this error? Undefined function 'abs' for input arguments of type 'Simulink.Parameter'.
조회 수: 13 (최근 30일)
이전 댓글 표시
I get Undefined function 'abs' for input arguments of type 'Simulink.Parameter' error and I do not know why because I do not use any abs functions. I'm useing simpowersystem modeling and i need to have blocks parameters set as ImportedExtrn storage class.
댓글 수: 0
채택된 답변
Niklas Nylén
2014년 4월 9일
Are you using the parameter as a mask value? There may be something below the mask that is attempting to use the parameter that cannot handle Simulink.Parameter parameters.
댓글 수: 2
Niklas Nylén
2014년 4월 11일
Simpowersystem models are likely masked systems (I don't have it so I can't check). If you use the Simulink.Parameter in the mask of a simpowersystem block there could be a (bad) implementation of abs(parameter) inside that block.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!