Unknown error running simulation in m-file
显示 更早的评论
Hi,
I've just recently started my summer MSc project and my professor has given me a full model of a system. When I attempt to run this script, with the parameters script (which is called) and the Simulink model. It attempts to run it but when the line is executed:
sim('v35_docking_revised')
The error:
??? Error using ==> v35_main_revised at 104
**** Error ****
Is given. I have no idea what's wrong, the model is huge. I just wondered if anyone has seen this before. One of the PhD students gave me this model and it runs perfectly fine on his 2012a MATLAB. However, it doesn't run on my 2010a version, or the university's 2011a version.
Any ideas?
Cheers,
Euan
2 个评论
Friedrich
2013-6-6
What is in line 104 of v35_main_revised?
Ilham Hardy
2013-6-6
Upgrade to 2012a?
回答(1 个)
Jan
2013-6-6
0 个投票
You are an MCs student. You are using a function, which you do not know and which was written by somebody else. It is obvious that we do not know this function. Please take the time to read your question again and estimate, if an answer is possible in theory.
You will find out, that there is absolutely no chance that we can guess the reason of the problem. Even if somebody had seen the error message "**** Error **" before, it would be very likely, that it was another program.
I suggest to use the debugger and and set a breakpoint in the shown line. Then run the program again and show use the relevant part of the code as well as the values and types of the locally used variables.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!