コマンドプロンプトから MATLAB を起動し、MATLAB の終了後にプロンプト​が戻るようにする事は​できますか?

4 views (last 30 days)
MathWorks Support Team
MathWorks Support Team on 1 Feb 2013
コマンドプロンプトにて、MATLAB を起動すると、matlab.exe の起動後、すぐに次の行にプロンプトが戻ってきますが、これを、MATLAB の終了時 (MATLAB 上で EXIT 実行後) に戻るようにする事の可否を教えてください。

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Feb 2013
MATLAB がインストールされたフォルダ内の、以下の場所にある matlab.exe を使用し、コマンドプロンプトで以下のように実行することにより実現可能です。
1. cd を使用して MATLAB がインストールされたフォルダ内の、以下の場所に移動します。
例:
cd matlab\R2012b\bin\win64
2. 以下のコマンドでMATLABを起動します。
cmd /k matlab.exe

More Answers (0)

Categories

Find more on 起動と終了 in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!