Compile executable for 64-bit system

1 回表示 (過去 30 日間)
Jared
Jared 2013 年 2 月 1 日
I have a GUI executable I created with GUIDE and compiled with deploytool. It was created on Windows 7 32-bit, with Matlab R2011a 32-bit.
I ran this executable on a very powerful 64-bit data analysis computer, and it ran slower than on my modest desktop. I'm assuming it is because it was not compiled for 64-bit?
Can I install a 64-bit compiler on my desktop, and compile from a 32-bit system for a 64-bit system?

採用された回答

Image Analyst
Image Analyst 2013 年 2 月 1 日
編集済み: Image Analyst 2013 年 2 月 1 日
"compile from a 32-bit system for a 64-bit system" - I don't believe so. I'm pretty sure you need 64 bit OS (e.g. Windows 7-64) to install 64 bit MATLAB and use the 64 bit compiler to create a 64 bit application for running on a 64 bit OS. You can't do it from a 32 bit OS.
However, you can install either and/or both 32 bit and 64 bit MATLABs on your 64 bit system, and use the 32 bit MATLAB to compile for 32 bit systems, and the 64 bit MATLAB to compile for 64 bit systems.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by