how do i make EXE file to read the excel file?
2 views (last 30 days)
Show older comments
Bahareh Iranmehr
on 23 Aug 2018
Commented: Walter Roberson
on 23 Aug 2018
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
0 Comments
Accepted Answer
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.
2 Comments
More Answers (0)
See Also
Categories
Find more on Adding custom doc in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!