In my codes, there are some functions like imshow
or fopen
files that need addressing. When I use my program in MATLAB I use pwd
like imshow([pwd '/image.jpg'])
for addressing and the program run and work correctly, but when I compiled my program after installing it (redistribution) when I open shortcut in desktop, an error message appear with the title that my program can't find image.jpg
. When I check the address of searching, it is like :
C:/User/Desktop/image.jpg
I read this page but I don't know how to use this addressing.
Beside It I don't know where I should add these files ( images and texts ) in MATLAB compiler options. In file required for your application to run
or file installed with your application
.
Thanks.