I am trying to give a Java application the ability to change the working directory in an active MATLAB session. Basically, the user will click a button to start MATLAB. Then they will be able to press other buttons that change the working directory of the active MATLAB. I tried several different approaches, but no luck. I was thinking of calling MATLAB from a standalone C system, but this seems to work in a VARIOUS MATLAB session. Doing this directly with Java seems almost impossible. Is there an easy way to do this?
source
share