Error with copyfile occuring only when running executable (exe) version of the code.

Hello, I have an issue with copying a xls template file and writing report in it but only when running the compiled executable version of the code. Running the code from Matlab everything goes smoothly without error. Can you advice what might be causing the issue please? Thank you

2 件のコメント

Walter Roberson
Walter Roberson 2016 年 1 月 28 日
Is the problem in finding the template file, or is the problem in writing the output file? Are you specifically adding the template to the project? Where are you trying to write the file?
Hi Kristina,
Can you share the exact error message that you are getting? It may have some pointers to what is causing the issue. A quick suggestion, put
makeDOMcompilable();
function to the top of the main deployed function and then recompile it and execute the compiled code. Check if you are able to run the generated code.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

質問済み:

2016 年 1 月 28 日

コメント済み:

2016 年 2 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by