MATLAB Compiler で作成されたスタンド​アロンアプリケーショ​ンをサイレントインス​トールすることはでき​ますか?

7 views (last 30 days)
MathWorks Support Team
MathWorks Support Team on 13 Nov 2025 at 0:00
Answered: MathWorks Support Team on 18 Nov 2025 at 9:35
以下のドキュメントページに、 MATLAB Compiler Runtime をサイレントモードでインストールする方法が記載されていました。
Runtime が既にインストールされている前提で、 MATLAB で作成・コンパイルされたプログラム自体をサイレントインストールすることは可能でしょうか?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Nov 2025 at 0:00
MATLAB で作成・コンパイルされたプログラムは、 MATLAB Compiler Runtime を非対話的にインストールする場合と同様に、サイレントモードでインストール可能です。ターミナルで使用する一般的なコマンドは次のとおりです。
<installer> -mode silent -agreeToLicense yes
たとえば、 Windows 上でスタンドアロンアプリケーションをサイレントモードでインストールしたい場合は、次の手順を実行してください。
  • OS のコマンドラインから、コンパイル済みアプリケーションの "for_redistribution" フォルダに移動し、インストーラ "MyAppInstaller_web" 実行ファイルを見つけます
  • コマンドラインで次のコマンドを実行します:
MyAppInstaller_web.exe -mode silent -agreeToLicense yes
なお「ランタイムをパッケージに含める」で生成されたインストーラーでもサイレントモードでインストール可能です。この場合は MATLAB Compiler Runtime は既定の C:\Program Files\MATLAB\MATLAB Runtime フォルダ以下にインストールされ、スタンドアロンアプリケーションも C:\Program Files 以下にインストールされます。コマンドラインは以下の通りです。
MyAppInstaller_mcr.exe -mode silent -agreeToLicense yes

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!