Skip to content

Respect current directory when starting MATLAB on Windows#183

Merged
arokem merged 1 commit intoarokem:masterfrom
auneri:master
May 7, 2015
Merged

Respect current directory when starting MATLAB on Windows#183
arokem merged 1 commit intoarokem:masterfrom
auneri:master

Conversation

@auneri
Copy link
Contributor

@auneri auneri commented Apr 23, 2015

Current directory was not respected on Windows when -automation flag is used, as previously reported here. Changing the directory therefore allows for more consistent behavior across different platforms.

I've also suppressed verbose startup output by suffixing commands with semicolon.

Also suppress verbose startup output by suffixing commands with semicolon.

Current directory was not respected on Windows when -automation flag is used, as previously reported below:
http://www.mathworks.com/matlabcentral/answers/58372-can-t-change-startup-directory-when-calling-matlab-with-automation-from-command-line
@arokem
Copy link
Owner

arokem commented Apr 24, 2015

Could you please remind me why we are using the automation flag on windows, rather than nodesktop?

@blink1073
Copy link
Collaborator

They are equivalent, it is in their docs. Why they chose different options for Windows is another question.

@auneri
Copy link
Contributor Author

auneri commented Apr 24, 2015

Almost equivalent.. in both cases a basic command window is created, but with automation the window is minimized.

@arokem
Copy link
Owner

arokem commented May 7, 2015

I'm going to merge this, and we'll monitor this, as problems arise.

arokem added a commit that referenced this pull request May 7, 2015
Respect current directory when starting MATLAB on Windows
@arokem arokem merged commit b1ca724 into arokem:master May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants