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

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

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!