how do i make EXE file to read the excel file?

2 views (last 30 days)
I have packed an m-file which is reading an excel file. after copying the EXE together with the excel file to a folder, the exe does not seem to read the variables off the excel file in the same folder. how can i solve that? Thanks

Accepted Answer

Walter Roberson
Walter Roberson on 23 Aug 2018
Programs that are compiled with MATLAB Compiler do not use the directory of the .exe as their default directory. Instead, they create a temporary directory and expand the archive into that and run from that temporary directory.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!