MATLAB Compiler で作成したexeが正しく動作しない
Show older comments
上記URLの手順に従い、サンプルコード「magicsquare」のexe化を行いました。
アプリケーションのインストールまでできましたが、アプリケーションを実行しても、magicsquareの実行結果がどこにも表示されません。
アプリケーションの実行手順は以下のようにしました。
------------------------------------------------
1.コマンドプロンプトを起動。
2.「C:\Program Files\magicsquare」に移動し、「application\magicsquare 5」と実行。
3.画面中央にスプラッシュウインドウが表示されるが、2秒ほどで消える。コマンドプロンプト側はすぐに制御が戻る。

------------------------------------------------
URLには
> 5 行 5 列の魔方陣がコンソールに表示されます。
> 17 24 1 8 15
> 23 5 7 14 16
> 4 6 13 20 22
> 10 12 19 21 3
> 11 18 25 2 9
とありますが、どこに表示されるのでしょうか?
手順が間違っているのでしょうか?
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler 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!