c++ - CGIR assertion 'fitsType()' failed -


I have a simulative model that I am trying to generate in C ++ DLL. I've successfully created similar models, but this is also giving me the following errors:

  CGIR assertions' fitsType & LT; Size_t> () Failed in 'b': \ matlab \ derived \ win32 \ src \ included \ cg_ir \ util_prim \ ../../../../../../ src / cg_ir / export / included / cg_ir / util_prim / Size64.hpp: 125 '[0] 0x5d20bde3 C: \ MATLABR2011b_x86 \ bin \ Win32 \ cg_ir.dll + 00,769,507 (CG :: Scope :: treeStackSize + 000019) [1] 0x5d200b68 C: \ MATLABR2011b_x86 \ bin \ Win32 \ cg_ir.dll + 00,723,816 (CG :: FCN :: stackSize + 000024) [2] 0x590d36e2 C: \ MATLABR2011b_x86 \ bin \ win32 \ cgir_xform.dll + 02242274 (CG :: Anfoststaklimit :: GetFcnStackSize + 000034) [3] 0x590d390a C: \ Metabel 2011 b_x86 \ bin \ win32 \ cgir_xform.dll + 02242826 (CG :: Infoststak limit :: Inishiylaijh_fkn_stak_sas_info + 000234) [4] 0x590d42bb C: \ Metabrit 2011 Bi_aks 86 \ bin \ WINDOWS \ cgir_xform.dll + 02245307 (CG :: :: Anfostelackilimet Afnsstaclait limit + 00021 9) [5] 0x59384 CC 2 C: \ MATLABR2011 Bi_ x86 \ bin \ Win32 \ rtwcg.dll + 00806082 ( RTWCG :: getBlockParameterURLString + 004434) [6] 0x59385e3b C: \ MATLABR2011b _x86 \ bin \ win32 \ rtwcg.dll + 00810555 (RTWCG :: getBlockParameterURLString + 008907) [7] 0x593706f1c: \ MATLABR2011b_x86 \ bin \ win32 \ rtwcg.dll + 00722673 (RTWCG :: RTWFcnConst :: OptimizeAndEmitCode + 007777) [8] 0x5933085d C: \ MATLABR2011b_x86 \ bin \ win32 \ rtwcg.dll + 00460893 (RTWCG :: RTWCGModule :: OptimizeAndEmitCode + 000125) [9] 0x5a6f9ecd C: \ MATLABR2011b_x86 \ bin \ Win32 \ Libmvsimulinkkdl + 08,298,189 (Blokschekwardinsinptmpty + 066381) [10] 0x5a6f6f97 C: \ Mtlbr20llb_ks86 \ bin \ Win32 \ Libmvsi Mulink.dll + 08286103 (BlockSatakCWWdomrumInputEpi + 054295) [11] 0x5a74aa02C: \ Metabrite 2011 b_x86 \ bin \ jnod \ libmwsimulink.dll + 08628738 (SigetRTBblockForSLblock + 262210) [12] 0x5a74af9f C: \ MATLABR2011b_x86 \ bin \ win32 \ Libmwsimulink.dll + 08630175 (sleGetRTWBlockForSLBlock + 263647) [13] 0x5a23b9c5c: \ MATLABR2011b_x86 \ bin \ win32 \ libmwsimulink.dll + 03324357 (ArrayToSLObject + 481685) [14] 0x025dea8c C: \ MATLABR2011b_x86 \ Bin \ win32 \ m_dispatcher.dll + 00060044 (mdLogging :: log_function_exit + 000108) [15] 0x025de561 C: \ metal ABR2011b_x86 \ bin \ Win32 \ m_dispatcher.dll + 00,058,721 (Mfunction_handle :: dispatch + 000 401) to process ### model Build: the error O 'vcts_auxiSns' aborted. I also get the following error message in a dialog box:   \ Included \ cg_ir \ util_prim \ ../../../../../../ src / cg_ir / export / included / cg_ir / util_prim / size64.hpp line 125: fitsType & lt; size_t & gt; ;;) If you happen to be repetitive, report it to MathWorks   

update:

I was now able to detect the problem , And it seems to be a specific sign The problem shows a small portion of the image went subsystem down, and whenever it is allowed to flow to one of the three signs in red box, the model can not be used to generate code. As soon as I interrupt all three signals, the code works more generously

one of the models The part where the error occurs Unfortunately, I can solve the problem, so I'm still eager to hear any and all suggestions! According to a bug Mathworks with signal dispersion in code generation in Matlab 2011b, it will be done in 2012a and later in

Was solved, so I updated for 2013b now I no longer get this error.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -