フィルターのクリア

MATLAB exe execute is opening a command window

17 ビュー (過去 30 日間)
Prathima prasad
Prathima prasad 2020 年 10 月 26 日
回答済み: Vaishnav Katiyar 2020 年 10 月 29 日
I have matlab 2015a - Basic, SDK compiler & compiler.
I work on GUI development using GUIDE
I creat EXEs using batch script.(See below)
Every time I open the EXE that is compiled using teh below batch scrip, a command prompt is open displaying all the log statemnets.
I donot want this command prompt being open.
NOTE: When the same batch file is used for copiling the same code on different machine with MATLAB COMPILER LIC, the command prompt does not open. So thsi si an issue crealy with matlab settings in my machine.
Please help me resolve this issue!!
-----------------------------------------------------------------------------
set cname=dltool_git_dev
rem ctype main or winmain
set ctype=main
set matv=R2015a
set exeto=D:\02_Compiled\%cname%
set mainm=D:\GITDevelopmentBranch\ETL\anwendungen\dltool\myprog.m
set libp= D:GITDevelopmentBranch\ETL\anwendungen\dltool
set matver="C:\MATLAB\%matv%\bin\mcc.bat"
echo compile %cname% ....
if not exist %exeto% mkdir %exeto%
CALL %matver% -o %cname% -W %ctype%:%cname% -T link:exe -d %exeto% -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v %mainm% -a %libp%

回答 (1 件)

Vaishnav Katiyar
Vaishnav Katiyar 2020 年 10 月 29 日
While using MATLAB Application Compiler GUI, in the Additional Runtime Settings pane kindly check the "Do not display the Windows Command Shell (console) for execution". This may not show any Windows Command Shell on your desktop, when you run your standalone application.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by