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!