声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1492|回复: 2

[综合讨论] matlab7.0符号运算无法启动

[复制链接]
发表于 2007-2-28 17:46 | 显示全部楼层 |阅读模式

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

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

x
matlab7.0进行符号运算时,为啥出现
??? Maple initialization failed.
而matlab6.5上却没有错误

[ 本帖最后由 sffei 于 2007-2-28 18:00 编辑 ]
回复
分享到:

使用道具 举报

发表于 2007-2-28 18:47 | 显示全部楼层
原帖由 sffei 于 2007-2-28 17:46 发表
matlab7.0进行符号运算时,为啥出现
??? Maple initialization failed.
而matlab6.5上却没有错误



Solution Number: 1-1B0WE
Date Last Modified: 23 Feb 2007
Product: Symbolic Math Toolbox
Reported in Release: R13sp1
Fixed in Release:
Platform: All Platforms
Operating System: All OS
  
Subject:Why do I receive the error message "??? Maple initialization failed." when using the Symbolic Math Toolbox 3.0.1 (R13SP1)?
Problem Description:Whenever I use any symbolic command, I recieve an error message.

For example,
syms x y
z = x+y
which produces the error message:
error_msg : socket 1820 listen failed (err=10022).

??? Maple initialization failed.
and will generate the following segementation violation:
---------
Segmentation violation detected at Mon Jun 23 18:25:04 2003
---------
Configuration:
MATLAB Version: 6.5.0.1924 (R13)
Operating System: Microsoft Windows XP
Window System:Version 5.1 (Build 2600)
Processor ID: x86 Family 15 Model 2 Stepping 7, GenuineIntel
Virtual Machine:Java 1.3.1_01 with Sun Microsystems Inc. Java
HotSpot(TM) Client VM
(mixed mode)
Register State:
EAX = 012aef10EBX = 012aef10
ECX = 00000000EDX = 00000000
ESI = 013f67e0EDI = 00000000
EBP = 00df9b24ESP = 00df95bc
EIP = 10121139FLG = 00010206
Stack Trace:
[0] maplec.dll:0x10121139(2, 0x00df9ed0, 1, 0x012aef10 "1;")
[1] libmex.dll:_mexRunMexFile(2, 0x00df9ed0, 1, 0x00df9fd4) + 71 bytes
[2] m_interpreter.dll:void __cdecl inCallMexFunction(int,struct mxArray_tag * * const,int, struct mxArray_tag * * const,void (__cdecl*)(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const), struct _mex_context *,struct mexfiles *)(2, 0x00df9ed0, 1, 0x00df9fd4) + 476 bytes
[3] m_interpreter.dll:void __cdecl inRunMexFile(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const, struct mexfiles *)(2, 0x00df9ed0, 1, 0x00df9fd4) + 126 bytes
[4] m_interpreter.dll:void __cdecl inExecMexFile(int,int,struct mxArray_tag * * const,struct MATLAB_Function_tag *)(2, 1,0x00df9fd4, 0x01463848) + 82 bytes
[SNIP]

Solution:All the Symbolic Toolbox functions call the Maple kernel, which is supported by Maplesoft, Inc. This problem is caused by the issue described at Maplesoft's support page at the following URL:

http://www.maplesoft.com/support/Maple8/Installation/9.aspx

Note that this solution refers to the "maplew8.exe" file which, in MATLAB, is built into the "matlab.exe" file.

In addition, please note the paragraph stating that "Most personal firewall programs report that the [MATLAB] executable requires network access. This is somewhat misleading since the [MATLAB] executable is communicating with the mserver executable strictly on the local machine (through a TCP/IP connection)." Therefore, no information is actually sent through the internet.

This behavior only occurs when using Maple 8. Maple 8 was used in the Symbolic Math Toolbox 3.0 and later. You can determine which Symbolic version you are using by typing
ver symbolic
at the MATLAB Command Prompt.

 楼主| 发表于 2007-2-28 20:04 | 显示全部楼层
谢谢,解决了
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-9-24 21:21 , Processed in 0.072055 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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