I get a error "An error occurred during a write access to Job-1.mdl file" only when using Abaqus while MATLAB is running.
15 views (last 30 days)
Show older comments
MathWorks Support Team
on 5 Feb 2016
Answered: MathWorks Support Team
on 5 Feb 2016
I am using Abaqus while MATLAB in running. Then Abaqus is executing on the same folder as the current folder of MATLAB, I get an error
An error occurred during a write access to Job-1.mdl file.
This happens only when MATLAB is running in the same folder as Abaqus. Why do I get this error? Is there a workaround?
Accepted Answer
MathWorks Support Team
on 5 Feb 2016
The error is caused due to a race condition for locks on the file between MATLAB and Abaqus when both point to the same directory. There are two workarounds for this issue which are listed as follows:
1) Change the current directory in MATLAB.
2) Turn off "Auto-refresh view from file system" option which can be found in Preferences-> MATLAB -> Current Folder.
0 Comments
More Answers (0)
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!