フィルターのクリア

Simulink message "Attempt to use invalid data type id 17"

16 ビュー (過去 30 日間)
Torsten Knodt
Torsten Knodt 2012 年 7 月 26 日
コメント済み: Shawn Bonneau 2019 年 6 月 18 日
Hello, how can I find out which data type corresponds to a specific id when getting the message "Attempt to use invalid data type id 17" from simulink? This sporadically occurs when executing my model init function.
Thanks in Advance Torsten Knodt

回答 (1 件)

Engenuity
Engenuity 2017 年 11 月 1 日
bump
I am getting invalid data type ID -10
  2 件のコメント
sst
sst 2018 年 3 月 15 日
I am getting this error when I attempt the model build. However, the same model simulates correctly. R2013a x64.
Shawn Bonneau
Shawn Bonneau 2019 年 6 月 18 日
For the "invalid data type ID -10" error, I ran into this one while incorrectly indexing into a Simulink.Parameter object. There was an extra ".Value" in the Simulink dialog where it was used (similar to the way you would access that value from the MATLAB command window). Indexing to the parameter value without the ".Value" portion resolved the invalid data type error.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by