声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2099|回复: 2

[GUI界面] 求助:关于“uigetfile”命令

[复制链接]
发表于 2008-10-10 10:51 | 显示全部楼层 |阅读模式

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

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

x
读取文件时,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 = 20202020  EBX = 028f2120
  ECX = 20207878  EDX = 20200021
  ESI = 00cdcf0c  EDI = 028f227b
  EBP = 00cdcec4  ESP = 00cdcda4
  EIP = 78ec1f47  FLG = 00010246

Stack Trace:
  [0] uiw.dll:char * __cdecl buildFilterStrings(char const * *,char const * *,int,char const * *,char const * *)(0x78787874, 0x20207878, 0x20202020, 0x20202020) + 839 bytes
  [1] 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
            [filename, pathname, filterindex] = native_uigetfile( varargin{:} ) ;

Error in ==> save_results at 38
    [FileName,PathName]=uigetfile(cha2,'Pick a data file');
回复
分享到:

使用道具 举报

发表于 2008-10-11 00:16 | 显示全部楼层

回复 楼主 samonzhang 的帖子

cha2是一个文件名的字符型矩阵
可以更明确些吗?
发表于 2008-10-11 05:55 | 显示全部楼层
这个应该和你的程序无关,可以尝试一下方法
1. 关闭防火墙,或者设置防火墙放行matlab
2. 如果你用的瑞星杀毒软件,尝试关闭瑞星杀毒软件重新启动matlab看看

另,建议修改计算机的用户名为英文,你用的是中文,很容易导致matlab出现莫名其妙的问题

评分

1

查看全部评分

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

本版积分规则

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

GMT+8, 2024-11-24 23:07 , Processed in 0.100218 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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