I get a error "An error occurred during a write access to Job-1.mdl file" only when using Abaqus while MATLAB is running.
17 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2016-2-5
回答: MathWorks Support Team
2016-2-5
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?
采纳的回答
MathWorks Support Team
2016-2-5
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!