Hi George:
I tried to run the CZM example on my laptop, but encountered some errors.
After installing the toolbox app into MATLAB R2016a, I followed the following steps:
1. copy both the CZM example files and toolbox files into the work directory of ABAQUS 6.14;
2. run Abaqus2MatlabSetUp.m, which gave me no further instruction;
3. run Main_CODE.m in CZM example.
Two different errors occurred when I tried to run the example several times:
1. The programme exited with error saying that “readfil function cannot be found”;
Sorry I did not screenshot on this error.
2. MATLAB exited with “MATLAB System Error” notice.

Is it possible that you could kindly give me any advice to run the example successfully?
Thank you!
Regards,
Xiao
Hi George:
Thank you for your reply!
I totally understand now!
Regards,
Xiao
Hi Xiao,
Since in the file Input_file.inp the option *Output, field, frequency=0 is specified, no field output is written in the odb file. However, the odb file is supposed to contain history output, given that the option *Output, history, variable=PRESELECT is specified.
Best,
George
Hi George:
I send this post to further update my previous query.
After changing the region and system local, I then tried to change the system language to English. Now the laptop is also giving a correct CZM fitting results.
So it is more likely due to the computer setting reason.
Another query lies in that, when I tried to open the .odb files for various input values, I can open it in ABAQUS post-processing, but there’s no data inside. Is this normal?
Thank you!
Regards,
Xiao
Hi Xiao,
It is possible that the two different computers in which you ran the CZM optimisation process have different default optimization options. This may be even more likely if the version of Matlab is different between the two computers. So, you have to ensure that these options are identical for both computers on which you run the CZM example.
Type at the Matlab command window on both computers:
optimset('fminsearch')
and compare what you get.
It is likely that the output of the fminsearch function is different between the two computers, and this has led to the creation of different Abaqus models, through the generation of input files which is based on this output. The different Abaqus input files, when run, show different behavior, as expected: the first runs perfectly but the second gives error.
Please let me know if this fixes your problem.
Best,
George
Hi George:
Thank you so much for your prompt reply!
I tried to change the windows settings as you mentioned and can now successfully run the CZM optimisation process.
But I got different results based on two computers I tried, one with convergence achieved (very happy), while the other one exited with error. I summarise some of the screenshots of the two runnings for your info.
1. Converged one
MAX and ENERGY converged at 199.01 and 61.61.
2. Unconverged one
Very weird MAX and ENERGY values (MAXS_-735608_ENERGY_212400 and MAXS_-592348_ENERGY_169365 for two trials) after MAXS_175_ENERGY_80 were taken as input for FE simulation during optimisation.
Could you please give me any advice on the second calculation?
Also, when I tried to open the odb files for various input values, I can open it in ABAQUS post-processing, but there’s no data inside. Is this normal?
Thank you again for this amazing tool and your kind help!
Regards,
Xiao
Hi Xiao!
Just some ideas of what could be wrong:
1) Did you install the app permanently? If not, then either go to Tools->Install Library Permanently in the Abaqus2Matlab GUI window, or open the file Abaqus2MatlabSetUp.m and run it (or press F5).
2) On your PC, go to Control Panel->Change date, time, or number formats->Formats tab->Format: and select English (United States)
3) On your PC, go to Control Panel->Change date, time, or number formats->Administrative tab->Change system locale and select English (United States).
Please follow the above instructions and let me know if your problem is resolved.
Best regards,
George