blue1979 发表于 2009-6-17 10:49

为什么会出这样的报错?

failed assertion in B:\matlab\toolbox\stateflow\src\utils\object.cpp at line 1024:
mxGetN( prhs ) == 1 && mxGetM( prhs ) == 1
Stack Trace:
sf.mexw32:0x6bf0c719(0x6bfb68b8 "mxGetN( prhs ) == 1 && mxGetM..", 0x6bfb51e0 "B:\matlab\toolbox\stateflow\src\..", 1024, 0x6bfb68ec "access method node-number must b..")
sf.mexw32:0x6bf124db(0, 0x00d3eb64, 1, 0x00d3ebc4)
sf.mexw32:0x6be9753c(0, 0x00d3eb64, 0, 1)
sf.mexw32:0x6be975a5(0, 0x00d3eb64, 1, 0x00d3ebc4)
libmex.dll:_mexRunMexFile(0, 0x00d3eb64, 1, 0x00d3ebc4) + 129 bytes
libmex.dll:private: void __thiscall Mfh_mex::runMexFileWithSignalProtection(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00d3eb64, 1, 0x00d3ebc4) + 73 bytes
libmex.dll:public: virtual void __thiscall Mfh_mex::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00d3eb64, 1, 0x00d3ebc4) + 220 bytes
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
m_interpreter.dll:__catch$?inDispatchFromStack@@YAHHPBDHH@Z$0(764, 0x0498ab6c "sf", 0, 1) + 712 bytes
m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x0498ab6c "sf", 764, 0, 1) + 146 bytes
m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 0, 1, 0) + 2898 bytes
m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 0, 1, 0) + 74 bytes
m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 0, 1, 0) + 254 bytes
m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x0fa757a0, 0x0fa75701, 0xffffffff, 0x0fa757a0) + 1330 bytes
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
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
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
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
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
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
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
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
m_interpreter.dll:_inEvalCmdWithLocalReturn(0x04fa9920 "sf(s)\n", 0, 0, 1) + 28 bytes
bridge.dll:enum inExecutionStatus __cdecl evalCommandWithLongjmpSafety(char const *)(0x04fa9920 "sf(s)\n", 0x016d1d78, 0x016d1dd8, 0x016d1d78) + 67 bytes
bridge.dll:__catch$_mnParser$0(0x016d1d78, 0x0b755738, 0x79730101, 0x0b6b1048) + 294 bytes
mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(0x004043ec, 336710, 0, 0x505c3a43) + 51 bytes
MATLAB.exe:_WinMain@16(0x016d1dd8, 0, 336710, 0x016d1d78) + 405 bytes
MATLAB.exe:___tmainCRTStartup(0, 0, 0x7ffde000, 0x8054c6b8) + 320 bytes
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.
页: [1]
查看完整版本: 为什么会出这样的报错?