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

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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!