Choosing 64bit MATLAB via command line

Hi!
I have 2012a 64 and 32 bit installed on my machine. I need to create 32 and 64 bit executables for an application. To do this I have an automated script that runs, but I can't seem to get 64bit MATLAB to run from the command line.
How can I either: a) Set 64bit as the default? b) manually choose 64bit to run?
Thanks!

답변 (1개)

Conrad
Conrad 2012년 7월 10일

0 개 추천

Hi Daniel
a) Go to your system's Environment Variables and edit the "Path" system variable. you will see that the path to the 32bit version will be before the path to the 64 bit version. Just switch this. On my PC the path to the 64bit version is: "C:\Program Files\MATLAB\R2010b\bin".
b) At the command prompt "cd C:\Program Files\MATLAB\R2010b\bin" and then execute Matlab.exe. Just change the path above to your one.
Conrad

댓글 수: 4

D G
D G 2012년 7월 10일
I am testing this now. IT has to make the change. I figured it was something similar. I will confirm the results.
D G
D G 2012년 7월 10일
I reversed the entries, but it had no effect. Any other suggestions?
Conrad
Conrad 2012년 7월 11일
Just to double check, you can see that the entries are switched if you type "path" at the command prompt?
D G
D G 2012년 7월 16일
Yep. Double checked it.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

질문:

D G
2012년 7월 10일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by