Why do I get this error? Undefined function 'abs' for input arguments of type 'Simulink.Parameter'.
12 ビュー (過去 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!