MATLAB: How to move an app (in appdesigner) to a new directory and handle icons (png files) on push buttons

appdesignericonsMATLABpushbuttond

Hello, Appdesigner allows you to add Icons to buttons.
My question is, if I want to copy my App to a different name in a different directory and I've already added icons (png) to pushbuttons I don't want the new app to point to the original picture files for the icons. If I just drop these icons in the new directory, will I have to selecvt each button and re assign the icon in the new directory?
Thanks
Jason

Best Answer

If you want to move your app in different folder, you can create a folder with icons and add it to the MATLAB path and the icons will always remain there wherever you move the app.
You can move also your images to the same folder with the app, as paths to the images can be relative, but it's not a tidy solution.