MATLAB Compilerにて複数のmファイルを元に製作したスタンドアロンアプリケーションに使用されているmファイルをしらべたい。
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Keisuke goto
le 26 Jan 2018
Commenté : Kei Otsuka
le 29 Jan 2018
MATLAB Compilerでは複数のmファイルを使用するアプリを製作する場合でも、メインmファイルのみを選択することで、アプリが生成されます。 そのアプリに使用されているmファイル(依存関係)を確認 するにはどうすればよいでしょうか?
0 commentaires
Réponse acceptée
Keisuke goto
le 29 Jan 2018
1 commentaire
Kei Otsuka
le 29 Jan 2018
メインのmファイルが参照しているファイルのリストは、以下の関数でも確認することができます。
matlab.codetools.requiredFilesAndProducts()
少し長いですが、R2014aでも使える筈ですので宜しければお試しください。
Plus de réponses (1)
Kojiro Saito
le 27 Jan 2018
MATLAB Compilerのアプリケーションコンパイラーでメイン関数のmファイルを追加すると、自動的に関数の依存関係が解析され、数秒後に「アプリケーションの実行に必要なファイル」に依存関係にあるmファイルが追加されます(下図の赤枠部分です)。
このようにコンパイル実行前に依存関係にあるmファイルを確認することができます。
0 commentaires
Voir également
Catégories
En savoir plus sur スタンドアロン アプリケーション dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!