MATLAB Compilerでス​タンドアロンアプリを​作成した場合のxls​read関数の処理に​ついて

xlsread関数でExcelからデータを呼び出すMファイルを作成しました。これをMATLAB Compilerにより スタンドアロンアプリ化すると,ExcelのデータがEXEファイルに取り込まれてしまいます。 EXEファイルの実行ごとにExcelのデータを読み込むようにしたいですが,どのようにすればよろしいでしょうか。 ご教示の程よろしくお願い致します。
以上

 Réponse acceptée

michio
michio le 22 Juin 2018

1 vote

実行に必要なファイルとしてEXEに取り込まれてしまいます。対策については下記が参考になるかと思います。
EXE実行時に読み込むファイルを選択して、、という処理をさせる場合には uigetfile関数が便利です。

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!