INTERNAL ERROR. Failed assertion in sfdb_breakpoints.c at line 35: (script->b​m.breakpoi​nts).lengt​h>(unsigne​d int)(lineNumber-1)

INTERNAL ERROR. Failed assertion in sfdb_breakpoints.c at line 35: (script->bm.breakpoints).length>(unsigned int)(lineNumber-1)
Has anybody seen this error before? I was using the MATLAB function "sim" to run the simulink model and got this error. Now when I try to run the simulink model independently, I get this error (whereas before trying to run it via MATLAB, it ran fine).
Any suggestions?
Candice

2 件のコメント

What version of MATLAB do you use?
Notsure USA
Notsure USA 2013 年 9 月 16 日
R2013a 64bit

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

 採用された回答

Aditya
Aditya 2013 年 9 月 16 日
I ran into this error as well (I'm running 2012b 64 bit).
It went away when I restarted Matlab. That's the only solution I've been able to find.

2 件のコメント

Notsure USA
Notsure USA 2013 年 9 月 16 日
yes, that "solved" it for me too. I was hoping someone could explain why this is happening though.
Houssam
Houssam 2014 年 2 月 7 日
Yep - same experience here on 2013a 64bit. I was running the simulink model via function sim fine. Then it started giving this error. Re-starting 'fixed' it.

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

その他の回答 (2 件)

Noam Greenboim
Noam Greenboim 2014 年 12 月 31 日
This bug appears also in R2014a, but it is known to Mathworks. It happens because of a hidden breakpoint in an Embedded Matlab function block in Simulink. More details here:
Probably the easiest thing to do is just restart Matlab, since it clears all the breakpoints.
Igal
Igal 2015 年 5 月 13 日
Same problem but I have no Embedded MATLAB Function block. Just a simple Script -> Function -> sim(modelname) The moment I put breakpoint @ the function bam!
Error using var_del_run (line 28) INTERNAL ERROR. Failed assertion in b:\matlab\toolbox\stateflow\src\sf_runtime\debugger\sfdb_breakpoints.cpp at line 22: (script->bm.breakpoints).length>(unsigned int)(lineNumber-1)
I do not have or use stateflow and there's no b: drive on my machine, so I am puzzled as for where this error is pointing.
r2014a x64 on a Win7 x64 machine.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2013 年 9 月 5 日

回答済み:

2015 年 5 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by