My application only consists of .m files and .fig files.
The packaging works without issues but after that, I get the following error during the compilation:
File analysis was canceled because the following error occurred:
Import argument "internal.matlab.importtool.server.ImportUtils" in MATLAB code 'C:\Program Files (x86)\toolbox\matlab\datatools\importtool\matlab\peer\+internal\+matlab\+importtool\+peer\uiimportFile.m' cannot be found or cannot be imported.
And in an additional window:
Input was not a valid graphics object.
Error in = > my_gui.m at line 42
(The referenced line of code called the gui_mainfcn.)