Unexpected data type for Run-Time Parameter: how to solve this
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I am running into this issue while using Simscape. It says Unexpected data type for Run-Time Parameter...Type 'single' does not match the expected type: 'double'.
0 件のコメント
回答 (1 件)
Kumar Pallav
2021 年 10 月 25 日
Please refer this solution for a similar problem. You may need to explicitly set the data types to avoid the mismatch of datatypes. Double click on the inports and outports (or any other approriate block where the data type is set to AUTO). Now click on the "Signal Attributes" tab, and then for the "Data type" property, explicitly specify the data type (e.g. double) attribute of the signal for those ports.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!