Matlab - Unable to run the whole program completely
Ältere Kommentare anzeigen
Hi,
I have encountered the following error while running one mine matlab script.
I have previously encountered the same issues. But after working on a while, I manage to resolve it. But today, I still encountered the same issue. I have check the following:
- Item one: the read and write access of the output folder
- Item two: the file directory.
Question: Is is normal for matlab to be working on a particular occasion and fail to run on another? I have tried a couple of time, but to no avail.
Regards
Ben
2 Kommentare
Image Analyst
am 17 Jan. 2013
Bearbeitet: Image Analyst
am 17 Jan. 2013
What is the error? I can't get your link to work. Regarding your question do you really expect us to say that it's normal for MATLAB to just run at random times and fail at other random times running the same code on the same data for no reasons whatsoever? If you have a problem with MATLAB itself crashing, then call tech support. Otherwise, if it's a problem with your code, let's see the error message. Copy and paste it right here.
Jan
am 18 Jan. 2013
It would be more convenient, when you post the message as text instead of linking to a screenshot. E.g. the screenshot does not contain the command, which causes the error, or it does and it is only me who is not able to find it.
Antworten (2)
Walter Roberson
am 17 Jan. 2013
0 Stimmen
It is normal for MS Windows to work sometimes and then fail later, if you have automatic security patch installation turned on.
1 Kommentar
Jan
am 18 Jan. 2013
I cannot confirm this. I think it is normal for MS Windows not to work sometimes and then work later.
No, it is not normal for Matlab to fail for random reasons. Whenever I have seen Matlab failing or a user in a forum has described errors, there have been deterministic explanations.
The only exception was SUM for large arrays in 2009a, which adds the result of partial sums in the order the corresponding threads are finished. But here you did not get an error, but deviations between different calculations.
Therefore I suggest to read the error message and find the reason for the failure, then fix it.
When you work with files, be sure to use absolute file names, because the current directory is volatile, e.g. a callback of a GUI or a TIMER can change it unexpectedly.
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!