I installed FEniCS using anaconda. And the matlab I'm using is the 2020 version (I've already tested it in the 2017 version too). However, in neither version does the FEniCS run.
Finally, when installing FEATool the following message appears: "Warning: Incompatible MEX files detected (for additional linear solvers) .Full functionality should still be available with the built-in solvers."
If you have installed FEniCS correctly in a compatible way, calling:
from the MATLAB command line should return a string with the FEniCS version, for example '2019.2.0.dev0', which is the version that will be displayed when selecting "System Info..." > "FEniCS Version" from the "Help" menu.
To solve a model with FEniCS, MATLAB must be able to make system calls to "bash" scripts which contain calls to the python interpreter (or aliased python3) with the FEniCS installation. You can test if this works by running the MATLAB command:
This does not seem to be either a Matlab, FEATool, or OS/system problem, but an issue with your specific FEniCS installation. If the
bash -c "dolfin-version"
command does not work, then you most likely either have a too old FEniCS version, not activated your conda Python environment before/in the Matlab session, or installed FEniCS incorrectly/in an incompatible way.