MATLAB Answers

Matlab Compiler Shared Resources and Helper Files Issue

2 views (last 30 days)
Kevin on 10 Oct 2011
I am having an issue with my executable with finding a .pptx file as a shared resource.
I have included it inside the executable but it cannot find the file once the executable is deployed but can find another file which is a .jpg and is looked for in a similar way.
Does anybody have an idea of why it cannot find a .pptx file but can find a .jpg?
Kevin on 10 Oct 2011
I used the deploytool to add the file.
I am calling it by searching within the executable's "working directory":
base_dir = cd;
copyfile([base_dir '\BaseM9.pptx'], filename);

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 10 Oct 2011
See this entry on the FAQ:, particularly point #7 there. I'm pretty sure that's the cause of your problem.
  1 Comment
Kevin on 10 Oct 2011
This was indeed what it was. Thanks for the help on a non-intuitive problem!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!