samonzhang 发表于 2008-10-10 10:51

求助:关于“uigetfile”命令

读取文件时,cha2是一个文件名的字符型矩阵;
在运行这一句时,出现问题。
报错如下。
请各位高手指点迷津。
多谢

------------------------------------------------------------------------
       Segmentation violation detected at Fri Oct 10 10:41:36 2008
------------------------------------------------------------------------

Configuration:
MATLAB Version:   7.1.0.246 (R14) Service Pack 3
MATLAB License:   161051
Operating System: Microsoft Windows XP
Window System:    Version 5.1 (Build 2600: Service Pack 2)
Processor ID:   x86 Family 6 Model 9 Stepping 5, GenuineIntel
Virtual Machine:Java 1.5.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Default Charset:GBK

Register State:
EAX = 20202020EBX = 028f2120
ECX = 20207878EDX = 20200021
ESI = 00cdcf0cEDI = 028f227b
EBP = 00cdcec4ESP = 00cdcda4
EIP = 78ec1f47FLG = 00010246

Stack Trace:
uiw.dll:char * __cdecl buildFilterStrings(char const * *,char const * *,int,char const * *,char const * *)(0x78787874, 0x20207878, 0x20202020, 0x20202020) + 839 bytes
0x74747474

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

1. Send this crash report to segv@mathworks.com for automated analysis.
   For your convenience, this information has been recorded in:
       C:\DOCUME~1\张戬杰\LOCALS~1\Temp\matlab_crash_dump.2972

2. Also, if the problem is reproducible, send the crash report to
   support@mathworks.com along with:
       - A specific list of steps that will reproduce the problem
       - Any M, MEX, MDL or other files required to reproduce the problem
       - Any error messages displayed to the command window
   A technical support engineer will contact you with further information.

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

Error in ==> uigetfile at 186
             = native_uigetfile( varargin{:} ) ;

Error in ==> save_results at 38
    =uigetfile(cha2,'Pick a data file');

ChaChing 发表于 2008-10-11 00:16

回复 楼主 samonzhang 的帖子

cha2是一个文件名的字符型矩阵
可以更明确些吗?

happy 发表于 2008-10-11 05:55

这个应该和你的程序无关,可以尝试一下方法
1. 关闭防火墙,或者设置防火墙放行matlab
2. 如果你用的瑞星杀毒软件,尝试关闭瑞星杀毒软件重新启动matlab看看

另,建议修改计算机的用户名为英文,你用的是中文,很容易导致matlab出现莫名其妙的问题
页: [1]
查看完整版本: 求助:关于“uigetfile”命令