Choosing 64bit MATLAB via command line
2 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Conrad
2012-7-10
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 个评论
Conrad
2012-7-11
Just to double check, you can see that the entries are switched if you type "path" at the command prompt?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!