スタンドアロンアプリ​ケーションがコマンド​プロンプトに結果を返​さないのはなぜですか​?

14 views (last 30 days)
MathWorks Support Team
MathWorks Support Team on 31 May 2012
MATLAB Compiler の deploytool にて、Windows スタンドアロンアプリケーションを作りました。例えば、デモにある MagicSquare をコンパイルし、実行しても、コマンドプロンプトに結果が表示されません。
c:\>magicsquare.exe 5
c:\>

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 31 May 2012
DEPLOYTOOLの画面にて、ターゲットに"Windowsスタンドアロンアプリケーション"を選択しますと、コマンドプロンプトを利用しないスタンドアロンアプリケーションが生成されます。コマンドプロンプトに結果を表示する場合は、ターゲットに""コンソールアプリケーション" を選択します。

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!