ASAP2 file generation error : unhandled datatype

조회 수: 3 (최근 30일)
Jack Xu
Jack Xu 2017년 4월 10일
댓글: Jack Xu 2017년 4월 18일
I am using Simulink to generate the ASAP2 file for my model ( ert. tlc), all the needed data objects have been defined properly as Simulink. Parameter and Simulink. Signla, but I get an error : Simulink Coder Error, unhandled datatype, DatatypeID = 37,I can not figure out what's this error for, I suspect the enumeration class caused this error ( But, it's running normal when I simulate the model ), I do not know how to find the bugs, hope someone can help me, thanks !

답변 (1개)

Ankitha Kollegal Arjun
Ankitha Kollegal Arjun 2017년 4월 18일
Please check the following bug report, which talks about this issue.
  댓글 수: 1
Jack Xu
Jack Xu 2017년 4월 18일
Hi Ankitha,thank you very much for your help, the bug report really give me much hits of the error, but, I want to say I am using the MATLAB version 2014b which showed the problem should be fixed in this version, unfortunately, I still got this error, after download the patch zip file and compare with the one I am using, the contents are identical, I do not know whether there are patch file for 2014b or should I modify the data type in the 2D lookup table from boolean to build in types. thanks!

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by