Simulink error: Code generation failed

  • Follow


Any hints where to start debugging from?
I can't find anything about "ruleForExprExists(aExpr)" from the manuals...

***
Code generation failed ruleForExprExists(aExpr)

### Real-Time Workshop build procedure for model: 'mdstest3_2' aborted due to an error.

failed assertion in .\dom_core\lowering\cg_scalarize_2.cpp at line 2403:
	ruleForExprExists(aExpr)
Stack Trace:
  [0] stateflow.dll:0x24a6e61a(0x14f2d1a0 "ruleForExprExists(aExpr)", 0x14f2caec ".\dom_core\lowering\cg_scalarize..", 2403, 0)
  [1] stateflow.dll:0x2485fc86(0, 0x14f2caec ".\dom_core\lowering\cg_scalarize..", 2403, 0x14f2d1a0 "ruleForExprExists(aExpr)")
  [2] cg_ir.dll:0x6bc694bb(0x14f2caec ".\dom_core\lowering\cg_scalarize..", 2403, 0x14f2d1a0 "ruleForExprExists(aExpr)", 0x00c1b164)
  [3] cgir_xform.dll:0x14e664d4(0x32adf790, 0x00c1b164, 0x3387d990, 0x6bc9cf00)
  [4] cgir_xform.dll:0x14e6993f(0x3387d990, 0x3387ddb0, 0x6bc9fb10, 0x3387d4b0)
....
  [255] MATLAB.exe:0x00406202(0, 0, 1, 0x020c4080)
  [256] MATLAB.exe:0x004062c5(1, 0x020c7940, 4194304, 10)
  [257] MATLAB.exe:0x0040638d(4194304, 0, 1517390, 10)
  [258] MATLAB.exe:0x00406834(0x7ffdf000, 0x00c2ffd4 "ìÿÂ", 0x7786b495, 0x7ffdf000)
  [259] kernel32.dll:0x773d1194(0x7ffdf000, 0x771cf3a5, 0, 0)
  [260] ntdll.dll:0x7786b495(0x00406a0d, 0x7ffdf000, 0, 0)
  [261] ntdll.dll:0x7786b468(0x00406a0d, 0x7ffdf000, 0, 0x00905a4d)
MATLAB stack trace:
> In coder\private\construct_module at 54
  In coder\private\generate_code_for_charts_and_machine at 69
  In sfc at 164
  In stateflow\private\targetman>code_method at 317
  In stateflow\private\targetman>method_nag_wrapper at 136
  In stateflow\private\targetman at 77
  In stateflow\private\autobuild_kernel>autobuild_local at 189
  In stateflow\private\autobuild_kernel at 54
  In stateflow\private\autobuild_driver at 107
  In stateflow\private\slsf at 122
ruleForExprExists(aExpr)
Code Directory :
     "C:\Users\jsaloran\Documents\WTP\WORK\Code\MDS\Test04_simulink2\slprj\_sfprj\mdstest3_2\_self\sfun\src"

Machine (#65): "mdstest3_2"  Target : "sfun"
0
Reply Jani 11/22/2010 12:00:07 PM


0 Replies
595 Views

(page loaded in 0.02 seconds)

Similiar Articles:













7/24/2012 3:56:58 PM


Reply: