由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - 一个让我抓狂的matlab问题
相关主题
急!怎么暂停MatlabAnalytic solution for an ODE
如何在xlswrite中使用strcat定义的文件名,谢谢!请教:如何用least square approach解超定方程组
[转载] 问个弱智的branch and bound 问题哈,抓狂中~~~[转载] 有人知道如何把MATLAB .M 文件转换成C吗?
Senior Linux System Engineer, Santa Monica, CA急!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
MATLAB Matrix Numeric Tools Help siteRe: 急!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
what is wrong with my matlab?[转载] Is the "bench" in Matlab reliable
MATLAB积分求教[转载] 大家看这个方程组用什么软件解
终于完成一模拟matlab基本矩阵运算的C库[转载] Matlab help
相关话题的讨论汇总
话题: matlab话题: process话题: steps话题: support
进入Computation版参与讨论
1 (共1页)
y****u
发帖数: 2053
1
可能非常弱的问题,但是我就是不知道为啥啊。
我需要运行一个m file,每次需要输入一些参数,用了一些input句子。一般是运行得好
好的。但有的时候在command window输入参数并回车后,它就不往下执行了,就看到光
标在那闪啊闪的,这个时候无论我按回车,按ctl+C,甚至按右上角的X想将matlab整个
关闭,都没反应。只能用任务管理器来关。然后重启matlab。这到底是为啥啊?而且这
个问题好像跟input也没有关系,我在程序最后是画一张图出来,有时是运行到画图那
一步之前就停顿了,还是光标闪啊闪,然后不proceed,没反应了。我因为需要重复run
这个程序,结果run几次吧就出现一次这个问题,到底是什么原因呢?
update: 应该是跟excel有关的问题,我在这两个地方分别用到了xlswrite和xlsread。
k**********g
发帖数: 989
2

run
If you have MATLAB support, try open a support request.
If you are employed (paid) by a research center, and the problem arises from
work performed for your employer. The research center may have technical
staff (苦B学生) to help troubleshoot these issues.
Otherwise, you'll have to troubleshoot the same way a programmer does.
(Steps for narrowing down the problem in the MATLAB code)
Set a breakpoint in the MATLAB program, and step through it line by line.
Repeat as many times as needed, and notice any recurring pattern of the
failure.
(Steps for Windows troubleshooting)
(1) Download Process Explorer from http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
This is a more powerful type of task manager.
(2) Click on the MATLAB process and see which threads are running or stuck.
(3) From the thread, get a stack trace.
(4) If you have MATLAB support, open a request and provide the MATLAB source
code, the data, and the process stack trace.
Alternatively, if you know how to get a memory dump from it, that's another
way to troubleshoot a nonresponsive program.

【在 y****u 的大作中提到】
: 可能非常弱的问题,但是我就是不知道为啥啊。
: 我需要运行一个m file,每次需要输入一些参数,用了一些input句子。一般是运行得好
: 好的。但有的时候在command window输入参数并回车后,它就不往下执行了,就看到光
: 标在那闪啊闪的,这个时候无论我按回车,按ctl+C,甚至按右上角的X想将matlab整个
: 关闭,都没反应。只能用任务管理器来关。然后重启matlab。这到底是为啥啊?而且这
: 个问题好像跟input也没有关系,我在程序最后是画一张图出来,有时是运行到画图那
: 一步之前就停顿了,还是光标闪啊闪,然后不proceed,没反应了。我因为需要重复run
: 这个程序,结果run几次吧就出现一次这个问题,到底是什么原因呢?
: update: 应该是跟excel有关的问题,我在这两个地方分别用到了xlswrite和xlsread。

k**********g
发帖数: 989
3

run
If you have MATLAB support, try open a support request.
If you are employed (paid) by a research center, and the problem arises from
work performed for your employer. The research center may have technical
staff (苦B学生) to help troubleshoot these issues.
Otherwise, you'll have to troubleshoot the same way a programmer does.
(Steps for narrowing down the problem in the MATLAB code)
Set a breakpoint in the MATLAB program, and step through it line by line.
Repeat as many times as needed, and notice any recurring pattern of the
failure.
(Steps for Windows troubleshooting)
(1) Download Process Explorer from http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
This is a more powerful type of task manager.
(2) Click on the MATLAB process and see which threads are running or stuck.
(3) From the thread, get a stack trace.
(4) If you have MATLAB support, open a request and provide the MATLAB source
code, the data, and the process stack trace.
Alternatively, if you know how to get a memory dump from it, that's another
way to troubleshoot a nonresponsive program.

【在 y****u 的大作中提到】
: 可能非常弱的问题,但是我就是不知道为啥啊。
: 我需要运行一个m file,每次需要输入一些参数,用了一些input句子。一般是运行得好
: 好的。但有的时候在command window输入参数并回车后,它就不往下执行了,就看到光
: 标在那闪啊闪的,这个时候无论我按回车,按ctl+C,甚至按右上角的X想将matlab整个
: 关闭,都没反应。只能用任务管理器来关。然后重启matlab。这到底是为啥啊?而且这
: 个问题好像跟input也没有关系,我在程序最后是画一张图出来,有时是运行到画图那
: 一步之前就停顿了,还是光标闪啊闪,然后不proceed,没反应了。我因为需要重复run
: 这个程序,结果run几次吧就出现一次这个问题,到底是什么原因呢?
: update: 应该是跟excel有关的问题,我在这两个地方分别用到了xlswrite和xlsread。

1 (共1页)
进入Computation版参与讨论
相关主题
[转载] Matlab helpMATLAB Matrix Numeric Tools Help site
Matlab signal mechanism?what is wrong with my matlab?
problem with Matlab 6.5MATLAB积分求教
help on interface for Matlab and Fortran终于完成一模拟matlab基本矩阵运算的C库
急!怎么暂停MatlabAnalytic solution for an ODE
如何在xlswrite中使用strcat定义的文件名,谢谢!请教:如何用least square approach解超定方程组
[转载] 问个弱智的branch and bound 问题哈,抓狂中~~~[转载] 有人知道如何把MATLAB .M 文件转换成C吗?
Senior Linux System Engineer, Santa Monica, CA急!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
相关话题的讨论汇总
话题: matlab话题: process话题: steps话题: support