What are batch files and how do I create them in Windows XP to execute a MATLAB stand-alone application with the DOS window minimized?
2 次查看(过去 30 天)
显示 更早的评论
I would like to create a batch file in Windows XP, so that the DOS window is minimized while executing a MATLAB standalone application.
采纳的回答
MathWorks Support Team
2016-11-28
Batch files are not programs but lists of command line instructions that are 'batched' together in one file. Batch files do not contain any compiled code, so they can be opened, copied and edited.
To create a batch file that will run a MATLAB Compiler-generated stand-alone executable, take the following steps :
1. Open an ASCII text editor such as Notepad (not Word or Wordpad)
2. Type or copy the following text:
@ECHO OFF
<application>.exe
EXIT
where application is the name of the stand-alone application that you wish to execute.
3. Save the file as, say, 'start.bat'.
4. Create a shortcut to 'start.bat'.
5. Set 'Run: Minimized' from the Properties -> Shortcut pane of the shortcut.
When you double-click on this shortcut, application.exe will execute with the DOS window minimized.
0 个评论
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!