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 Kommentare

Friedrich
Friedrich am 6 Jun. 2013
What is in line 104 of v35_main_revised?
Ilham Hardy
Ilham Hardy am 6 Jun. 2013
Upgrade to 2012a?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 6 Jun. 2013

0 Stimmen

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.

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 6 Jun. 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by