CGIR assertion 'fitsType<size_t>()' failed when Code Generating

3 ビュー (過去 30 日間)
Fabian Jonsson
Fabian Jonsson 2014 年 4 月 10 日
回答済み: Fabian Jonsson 2014 年 4 月 29 日
I was trying to Code Generate a Simulink model into a dll when I got the following error:
CGIR assertion 'fitsType<size_t>()' failed
Unexpected or internal error encountered in "in CGIR: b:\matlab\derived\win32\src\include\cg_ir\util_prim\../../../../../../src/cg_ir/export/include/cg_ir/util_prim/Size64.hpp line 125: fitsType<size_t>() ". Please report this to MathWorks if you can cause it to recur
I think I've managed to locate the problem to this location:
Any ideas?

採用された回答

Fabian Jonsson
Fabian Jonsson 2014 年 4 月 29 日
According to Matlab support it is due to a bug in Matlab 2011b (possibly older versions too), which was solved in 2012a and later. I updated to 2013b and now I don't get that error anymore.

その他の回答 (0 件)

カテゴリ

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