回 帖 发 新 帖 刷新版面

主题:有那位高手能帮帮忙!

matlab5.3的程序为什么不能在在6.3上运行!
>> syms y x a b
z=sqrt(y);
y=a*cos(x)+b*sin(x);
compose(z,y)
error_msg : maple: directory does not exist

------------------------------------------------------------------------
       Segmentation violation detected at Tue Jun 12 13:46:22 2007
------------------------------------------------------------------------

Configuration:
  MATLAB Version:   6.1.0.450 (R12.1)
  Operating System: Microsoft Windows 2000
  Window System:    Version 5.1 (Build 2600: Service Pack 2)
  Processor ID:     x86 Family 15 Model 11 Stepping 2, AuthenticAMD
  Virtual Machine:  Java 1.1.8 from Sun Microsystems Inc.

Register State:
  EAX = 476c2d83  EBX = 476c2d83
  ECX = 0c1e6aa8  EDX = 0c0b08e7
  ESI = 0c0b08e4  EDI = 00000000
  EBP = 476c2d83  ESP = 01498f24
  EIP = 0c1b24f9  FLG = 00010202

Stack Trace:

This error was detected while a MEX-file was running.  If the MEX-file
is not an official MathWorks function, please examine its source code
for errors.  Please consult the External Interfaces Guide for information
on debugging MEX-files.

If it is an official MathWorks function, please
follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:

    1. Send us this crash report.  For your convenience, this information
       has been recorded in: C:\DOCUME~1\RAOHUA~1\LOCALS~1\Temp\matlab_crash_dump.416

    2. Provide a brief description of what you were doing when this
       problem occurred.

    3. If possible, include M-files, MEX-files, or MDL-files that aid
       in reproducing it.

    4. E-mail or FAX this information to us at:
                  E-mail:   support@mathworks.com
                     FAX:   508-647-7201

Thank you for your assistance.  Please save your workspace and restart
MATLAB before continuing your work.

Error in ==> F:\饶欢\toolbox\symbolic\maplemex.dll

------------------------------------------------------------------------
       Segmentation violation detected at Tue Jun 12 13:46:22 2007
------------------------------------------------------------------------

Configuration:
  MATLAB Version:   6.1.0.450 (R12.1)
  Operating System: Microsoft Windows 2000
  Window System:    Version 5.1 (Build 2600: Service Pack 2)
  Processor ID:     x86 Family 15 Model 11 Stepping 2, AuthenticAMD
  Virtual Machine:  Java 1.1.8 from Sun Microsystems Inc.

Register State:
  EAX = 00000000  EBX = 029d3a98
  ECX = 00000000  EDX = 18423600
  ESI = 01499610  EDI = 002c685c
  EBP = 01499550  ESP = 01499550
  EIP = 00352126  FLG = 00010202

Stack Trace:
  [0] libmex.dll:_mexMexInformation(0, 0x0278f118 "maple", 0x18423600, 0x33333333) + 6 bytes
  [1] m_interpreter.dll:_inCallMexFunction(2, 0x014998e4, 1, 0x014999e8) + 804 bytes
  [2] m_interpreter.dll:_inRunMexFile(2, 0x014998e4, 1, 0x014999e8) + 121 bytes
  [3] m_interpreter.dll:_inExecMexFile(2, 1, 0x014999e8, 0x029d3a98) + 82 bytes
  [4] m_interpreter.dll:_inExecFunction(2, 1, 0x014999e8, 0x029d3a98) + 38 bytes
  [5] m_interpreter.dll:_inMMexExecute(570, 0x029d3a98, 2, 1) + 533 bytes
  [6] m_interpreter.dll:_inInterPcode(1, 0x0149ac18, 1, 0x183e1d60) + 1808 bytes
  [7] m_interpreter.dll:_inWord(2, 0x0149a910, 1, 0x0149ac18) + 622 bytes
  [8] m_interpreter.dll:_inWordsj(2, 0x0149a910, 1, 0x0149ac18) + 823 bytes
  [9] m_interpreter.dll:_inRunMP(2, 0x0149a910, 1, 0x0149ac18) + 141 bytes
  [10] m_interpreter.dll:_inExecMFile(2, 1, 0x0149ac18, 0x183e1d60) + 70 bytes
  [11] m_interpreter.dll:_inExecFunction(2, 1, 0x0149ac18, 0x183e1d60) + 38 bytes
  [12] m_interpreter.dll:_inMMexExecute(563, 0x183e1d60, 2, 1) + 533 bytes
  [13] m_interpreter.dll:_inInterPcode(1, 0x0149be48, 3, 0x183e1b50) + 1808 bytes
  [14] m_interpreter.dll:_inWord(1, 0x0149bb40, 3, 0x0149be48) + 622 bytes
  [15] m_interpreter.dll:_inWordsj(1, 0x0149bb40, 3, 0x0149be48) + 823 bytes
  [16] m_interpreter.dll:_inRunMP(1, 0x0149bb40, 3, 0x0149be48) + 141 bytes
  [17] m_interpreter.dll:_inExecMFile(1, 3, 0x0149be48, 0x183e1b50) + 70 bytes
  [18] m_interpreter.dll:_inExecFunction(1, 3, 0x0149be48, 0x183e1b50) + 38 bytes
  [19] m_interpreter.dll:_inMMexExecute(563, 0x183e1b50, 1, 3) + 533 bytes
  [20] m_interpreter.dll:_inInterPcode(1, 0x0149d268, 1, 0x183e1730) + 1
808 bytes
  [21] m_interpreter.dll:_inWord(1, 0x0149cd70, 1, 0x0149d268) + 622 bytes
  [22] m_interpreter.dll:_inWordsj(1, 0x0149cd70, 1, 0x0149d268) + 823 bytes
  [23] m_interpreter.dll:_inRunMP(1, 0x0149cd70, 1, 0x0149d268) + 141 bytes
  [24] m_interpreter.dll:_inExecMFile(1, 1, 0x0149d268, 0x183e1730) + 70 bytes
  [25] m_interpreter.dll:_inExecFunction(1, 1, 0x0149d268, 0x183e1730) + 38 bytes
  [26] m_interpreter.dll:_inInternalFcnOverload(260, 1, 260, 0x0149d268) + 65 bytes
  [27] m_interpreter.dll:_inExecuteInternalFcn(260, 1, 1, 0) + 592 bytes
  [28] m_interpreter.dll:_inInterPcode(2, 0x0149dce0, 0, 0) + 2320 bytes
  [29] m_interpreter.dll:_in_local_call_eval_function(0, 0x017ad840, 0x0149dce0, 0x0149dd74) + 174 bytes
  [30] m_interpreter.dll:_inEvalStringWithIsVarFcn(0x18482118 "z=sqrt(y);\n", 11, 0, 0) + 340 bytes
  [31] m_interpreter.dll:_inEvalString(0x18482118 "z=sqrt(y);\n", 11, 0, 0) + 50 bytes
  [32] m_interpreter.dll:_inEvalCmdWithLocalReturnandtype(0x18482118 "z=sqrt(y);\n", 0, 2, 0x0149dea4) + 68 bytes
  [33] m_interpreter.dll:_inEvalCmdNoEnd(0x18482118 "z=sqrt(y);\n", 0x969d92a1, 0, 11) + 16 bytes
  [34] matlab.exe:_mnParser(3670067, 271231, 0, 39) + 980 bytes
  [35] matlab.exe:_WinMain@16(4194304, 0, 271231, 1) + 3136 bytes
  [36] matlab.exe:_WinMainCRTStartup(3670067, 3211321, 0x7ffdf000, 0x8054b6ed) + 308 bytes
  [37] kernel32.dll:0x7c816fd7(0x0043e930, 0, 0x00905a4d, 3)

Please follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:

    1. Send us this crash report.  For your convenience, this information
       has been recorded in: C:\DOCUME~1\RAOHUA~1\LOCALS~1\Temp\matlab_crash_dump.416

    2. Provide a brief description of what you were doing when this
       problem occurred.

    3. If possible, include M-files, MEX-files, or MDL-files that aid
       in reproducing it.

    4. E-mail or FAX this information to us at:
                  E-mail:   support@mathworks.com
                     FAX:   508-647-7201

Thank you for your assistance.  Please save your workspace and restart
MATLAB before continuing your work.

Error in ==> F:\饶欢\toolbox\symbolic\maple.m
On line 116  ==> [result,status] = maplemex(statement);

Error in ==> F:\饶欢\toolbox\symbolic\@sym\maple.m
On line 74  ==> [result,status] = maple(statement);

Error in ==> F:\饶欢\toolbox\symbolic\@sym\sqrt.m
On line 7  ==> Y = maple('map','sqrt',X);

>> 
syms y x a b
z=sqrt(y);
y=a*cos(x)+b*sin(x);
compose(z,y)
error_msg : maple: directory does not exist

------------------------------------------------------------------------
       Segmentation violation detected at Tue Jun 12 13:46:22 2007
------------------------------------------------------------------------

Configuration:
  MATLAB Version:   6.1.0.450 (R12.1)
  Operating System: Microsoft Windows 2000
  Window System:    Version 5.1 (Build 2600: Service Pack 2)
  Processor ID:     x86 Family 15 Model 11 Stepping 2, AuthenticAMD
  Virtual Machine:  Java 1.1.8 from Sun Microsystems Inc.
这是什么意思!

回复列表 (共5个回复)

沙发

由于版本升级,可能有些函数被替换掉了,例如你这里的maple函数。

板凳

谢谢拉!你是否能够给我一些新版本的资料,我用的是5.3,谢谢了!

3 楼

syms x
y=sqrt(1+log(sin(x))^2);
finverse(y)
Warning: finverse((1+log(sin(x))^2)^(1/2)) is not unique.
> In D:\MATLAB\toolbox\symbolic\@sym\finverse.m at line 43
这又是为什么啊,什么不统一啊?不明白!能指教一下不!

4 楼

不是不统一,而是不唯一.除了显示出来的答案外,尚有另外的结果.

5 楼

那怎么才能解决这个问题?

我来回复

您尚未登录,请登录后再回复。点此登录或注册