Hmmm, I would guess that it might be sufficient to cd to the folder from within Matlab. I have not used Matlab for a long time, have switched to scilab which is free. But AFAIR Matlab also has a cd command. So something like
cd(project_path);
Before the call to Elmersolver should do the trick.
Matthias