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

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

Accepted Answer

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

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!