How to display 'Loading...' in 'cmd.exe' of a standalone application before it attempts to load MCR?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello, Thank you for your attention.
I deployed an application using deploy tool. I unchecked to suppress console window (similar to 'cmd.exe' in windows 7).
My GUI start time is variable. It's fine. however, I want to display a word 'loading...' at the start of the console window and display another word: 'Loading.... completed' just after my GUI starts.
I have prepared splash image, however it never gets displayed perhaps because console starts immediately after double clicking application file.
댓글 수: 0
답변 (2개)
Nagarjuna Manchineni
2017년 6월 19일
I believe you are trying to open an application GUI when you double click the standalone application .exe. For achieving the above behavior, wrap the call to the GUI function inside a function as follows and compile the new function.
function newwrapperfunction
disp('loading');
a = <GUI application/function>;
disp('loading completed');
end
댓글 수: 2
Vladimir Kuptsov
2020년 1월 31일
Just create a simple bat-file with two lines:
@echo loading...
@MyApp.exe
MyApp.exe - your standalone application. Use disp('loading completed') from Matlab code for the second message.
Now use this bat-file to start your application.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!