MATLAB: Hi there, I would like to launch a .bat file from matlab at the bat file direcetry

bat fileMATLAB

I am using the following commands:
system('.\VFPSolver\runvfph.bat &'); and it works, but point to the matlab directory. I would like to let Matlab execute bat file at the bat file directory. Any suggestions?

Best Answer

Maybe you mean.
cd('.\VFPSolver\');
system('runvfph.bat &');
Related Question