Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Respect current directory when starting MATLAB on Windows #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2015
Merged

Respect current directory when starting MATLAB on Windows #183

merged 1 commit into from
May 7, 2015

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