필터 지우기
필터 지우기

How to solve Error building project to create exe file from .m using deploytool ?

조회 수: 1 (최근 30일)
Deploytool
Name :project1
Location : E:\Naresh\MATLAB\code1
Target : Windows standalone Application
Add main file : programme1.m
Add files / Dictionaries : bull.jpg
Getting error like
Error building project
Run m build -setup to specify the default compiler option file

채택된 답변

Walter Roberson
Walter Roberson 2013년 12월 13일
Run
mbuild -setup
and pick a compiler. You might need to install a compiler first. You can use the same compilers as you would use for mex .
  댓글 수: 1
Naresh Naik
Naresh Naik 2013년 12월 14일
mbuild -setup
Please choose your compiler for building standalone MATLAB applications:
Would you like mbuild to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in E:\Naresh\MATHLA~1\sys\lcc
[2] Microsoft Visual C++ 6.0 in C:\Program Files\Microsoft Visual Studio
[0] none
Compiler: 1
Please verify your choices:
Compiler: Lcc-win32 C 2.4.1
Location: E:\Naresh\MATHLA~1\sys\lcc
Are these correct [y]/n? y
Trying to update options file: C:\Documents and Settings\admin\Application Data\MathWorks\MATLAB\R2010a\compopts.bat
From template: E:\Naresh\MATHLA~1\bin\win32\mbuildopts\lcccompp.bat
Done . . . I HAVE GOT LIKE THIS COULD YOU TELL ME HOW TO PROCEED FURTHER ?

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

추가 답변 (1개)

Naresh Naik
Naresh Naik 2013년 12월 14일
I got files through mbuild as you said by typing mbuild -setup
they are 1.MCRInstaller , 2. readme , 3.Untitled1 , 4. Untitled1_pkg naresh
If i want to run my exe in other system among the four which one i have to install?
  댓글 수: 1
Naresh Naik
Naresh Naik 2013년 12월 16일
I was successfully installed MCR installer in target system and while running the untitled.exe file A c window came and immediately closed.
I am unable to understand that could you make me understand ?

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

카테고리

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