Hi all,
I am working through the plane strain tutorial (Youtube example), but I came across an error in Matlab (7:07 in the video) that I am unsure about how to solve.
I was able to successfully generate the input and post-processing script file. However, when I am running the script file in Matlab, I get the following error
"Attempt to execute SCRIPT exploreFieldOdbPyScript as a function"
which is a script file called in 'exploreFieldOdb.m'.
I looked through this file, and everything is commented. Additionally, 'exploreFieldOdb.m' calls this script as if it were a function yet there are no inputs. From the documentation, this particular script should 'Create the Python script to be executed for postprocessing of the odb file.' Am I missing something that this function/script should have?
Thanks in advance for any help, and happy to provide additional information that might be useful in solving the problem.
Robert
Hello,
You are welcome!
George
Hi George,
Thank you for the quick reply and solution. Works properly now, must have downloaded the wrong version.
Robert
Hello Robert,
The function exploreFieldOdbPyScript is not open source in Abaqus2Matlab. The file exploreFieldOdbPyScript.m contains the help section of the function and the file exploreFieldOdbPyScript.mexwXX (XX=32 or 64) is executed by exploreFieldOdb.m as a function. There are two versions of Abaqus2Matlab, one for 32 bit and one for 64 bit operating systems. Please check that you have the correct version of Abaqus2Matlab installed on your PC, depending on your operating system.
Best,
George