Deployment for 32 bits executable application with Matlab 2011b and Windows 7

1 次查看(过去 30 天)
Dear Kaustubha,
I am converting matlab application from 64 to 32 bits using Matlab 2011b with Microsoft Visual Studio 2005 in windows 7 home premium.
So far, I can manage to get the 64 bits exe application but I tried to change the 32 bits in windows command 1. deploytool -win32 -build test.prj error"Unable to find a suitable install area" 2. deploytool [-win32] -build test.prj error"error in the deploytool command" 3. mcc -m test.prj -o test error"you do not have write permission in the output directory" Even in I tried to change the right permission but the message from Windows showing that it will happen to data inconsistency so I don't want to change.
Pls advise me how to settle this issue and I really appreciate your help.
Thanks and best regards Kyaw

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2011-12-12
The "Unable to find a suitable install area" seems to suggest that you do not have 32-bit MATLAB installed under the same installation folder. From the deploytool documentation page:
[QUOTE]
-win32 Run in 32-Bit Mode
Use this option to build a 32-bit application on a 64-bit system only when the following are both true:
  • You use the same MATLAB installation root (install_root) for both 32-bit and 64-bit versions of MATLAB.
  • You are running from a Windows command line (not a MATLAB command line)
[UNQUOTE]
For the "you do not have write permission in the output directory" error, try starting MATLAB "as administrator" to make sure Windows UAC isn't restricting MATLAB from writing to the directory.
  7 个评论
Jan
Jan 2011-12-15
@Kaustubha: "[QUOTE] [UNQUOTE]"?! I know exactly what this means. But please send this thread to the ones who are responsible for the usability of the forum (John or Randy?). This forum has its first birthday in the near future. It is time to brush up the interface to catch such needs. Thanks.
Kaustubha Govind
Kaustubha Govind 2011-12-15
Jan: It was supposed to be a block quote from the documentation. I'll make the suggestion to the MATLAB Central team. Thanks!

请先登录,再进行评论。

类别

Help CenterFile 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!

Translated by