[Solved] Running with Matlab an Abaqus python script involving a subroutine
I have succeeded in executing, with the classical abaqus command line window, a python script which makes use of a subroutine. No problem, calculations went fine.
But when I want to do the same from matlab, this does not work and results into an error.
system(['abaqus cae noGUI=script.py']);
-> error from matlab: WindowsError: [Error 2] The system cannot find the file specified
Does someone know how to solve this problem or is it possible to do this under matlab in the first place ?
I have stopped using Matlab, I now prefer the language Julia. Julia is free, and developed by a team from MIT. (My minor while I studied for my Ph.D. at MIT was in numerical math, and I took classes from the same team that later developed Julia.)
It should certainly be possible to do what you are trying to do using Matlab. It you are using a Windows computer, then you may have to specify the complete path to "abaqus.bat" for it to work. Since I prefer Linux, I don't need to worry so much about bat-files any more ?
I just return from a workshop and have tested your solution by adapting it to my folders.
It works fine !
Thank you so much !