声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2294|回复: 0

[编程技巧] 为什么会出这样的报错?

[复制链接]
发表于 2009-6-17 10:49 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
failed assertion in B:\matlab\toolbox\stateflow\src\utils\object.cpp at line 1024:
mxGetN( prhs[0] ) == 1 && mxGetM( prhs[0] ) == 1
Stack Trace:
  [0] sf.mexw32:0x6bf0c719(0x6bfb68b8 "mxGetN( prhs[0] ) == 1 && mxGetM..", 0x6bfb51e0 "B:\matlab\toolbox\stateflow\src\..", 1024, 0x6bfb68ec "access method node-number must b..")
  [1] sf.mexw32:0x6bf124db(0, 0x00d3eb64, 1, 0x00d3ebc4)
  [2] sf.mexw32:0x6be9753c(0, 0x00d3eb64, 0, 1)
  [3] sf.mexw32:0x6be975a5(0, 0x00d3eb64, 1, 0x00d3ebc4)
  [4] libmex.dll:_mexRunMexFile(0, 0x00d3eb64, 1, 0x00d3ebc4) + 129 bytes
  [5] libmex.dll:private: void __thiscall Mfh_mex::runMexFileWithSignalProtection(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00d3eb64, 1, 0x00d3ebc4) + 73 bytes
  [6] libmex.dll:public: virtual void __thiscall Mfh_mex::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00d3eb64, 1, 0x00d3ebc4) + 220 bytes
  [7] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00d3eb64, 1, 0x00d3ebc4) + 193 bytes
  [8] m_interpreter.dll:__catch$?inDispatchFromStack@@YAHHPBDHH@Z$0(764, 0x0498ab6c "sf", 0, 1) + 712 bytes
  [9] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x0498ab6c "sf", 764, 0, 1) + 146 bytes
  [10] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 0, 1, 0) + 2898 bytes
  [11] m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 0, 1, 0) + 74 bytes
  [12] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 0, 1, 0) + 254 bytes
  [13] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x0fa757a0, 0x0fa75701, 0xffffffff, 0x0fa757a0) + 1330 bytes
  [14] m_interpreter.dll:void __cdecl inRunMfile(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_mp *,struct inWorkSpace_tag *)(0, 0x00d3f3cc, 0, 0) + 679 bytes
  [15] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0, 0x00d3f3cc, 0) + 29 bytes
  [16] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00d3f3cc, 0, 0) + 28 bytes
  [17] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00d3f3cc, 0, 0) + 193 bytes
  [18] m_interpreter.dll:void __cdecl inEvalPcodeHeaderToWord(struct _memory_context *,int,struct mxArray_tag * * const,struct _pcodeheader *,class Mfh_mp *,unsigned long)(0x7ad2e5e4, 0, 0x00d3f3cc, 0x00d3f288) + 201 bytes
  [19] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_script_function(struct _memory_context *,struct _pcodeheader *,int,struct mxArray_tag * * const,unsigned long,bool)(0x7ad2e5e4, 0x00d3f288, 0, 0x00d3f3cc) + 91 bytes
  [20] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalStringWithIsVarFcn(struct _memory_context *,char const *,enum EvalType,int,struct mxArray_tag * * const,enum inDebugCheck,struct _pcodeheader *,int *,bool (__cdecl*)(void *,char const *),void *,bool,bool)(0x7ad2e5e4, 0x04fa9920 "sf(s)\n", 0, 0) + 570 bytes
  [21] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturn(char const *,int *,bool,bool,bool (__cdecl*)(void *,char const *))(0x04fa9920 "sf(s)\n", 0, 1, 0x79cad700) + 97 bytes
  [22] m_interpreter.dll:_inEvalCmdWithLocalReturn(0x04fa9920 "sf(s)\n", 0, 0, 1) + 28 bytes
  [23] bridge.dll:enum inExecutionStatus __cdecl evalCommandWithLongjmpSafety(char const *)(0x04fa9920 "sf(s)\n", 0x016d1d78, 0x016d1dd8, 0x016d1d78) + 67 bytes
  [24] bridge.dll:__catch$_mnParser$0(0x016d1d78, 0x0b755738, 0x79730101, 0x0b6b1048) + 294 bytes
  [25] mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(0x004043ec, 336710, 0, 0x505c3a43) + 51 bytes
  [26] MATLAB.exe:_WinMain@16(0x016d1dd8, 0, 336710, 0x016d1d78) + 405 bytes
  [27] MATLAB.exe:___tmainCRTStartup(0, 0, 0x7ffde000, 0x8054c6b8) + 320 bytes
  [28] kernel32.dll:0x7c817067(0x00401943, 0, 0x00905a4d, 3)
MATLAB m-file stack trace:
Error calling slsfnagctlr('NagToken',...)
Error using ==> feature
An unknown feature was specified
??? Error using ==> slsfnagctlr
Too many output arguments.
Error in ==> slsfnagctlr

Error in ==> construct_error at 18
    SLSFERRORCODE = slsfnagctlr('NagToken');
??? Error using ==> sf
Error using ==> slsfnagctlr
Too many output arguments.
??? Error using ==> sf
Error using ==> slsfnagctlr
Too many output arguments.
回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-26 12:37 , Processed in 0.067197 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表