I was having the same problem. I uninstalled and installed several versions of matlab/ansys, however, it only worked when I changed the command in matlab:n !C: \ Program Files \ ANSYS Inc \ v192\ ansys \ bin \ winx64 \ ANSYS192 -b -i FEAin.txt -o FEAout.dat nby:nsystem ('SET KMP_STACKSIZE = 10240k & C: \ Program Files \ ANSYS Inc \ v192 \ ansys \ bin \ winx64 \ ANSYS192 -b -i FEAin.txt -o FEAout.dat') nThanks for the help, you saved my research!!!n