An awkward way to remove the figure createfcn:
- Place a breakpoint in %MATLABPATH%\toolbox\matlab\appdesigner\appdesigner\+appdesigner\+internal\+serialization\FileReader.m, after the line "appData = load(tempFileLocation);" (That is the line that causes the createfcn to run).
- Load the app into appdesigner
- When the breakpoint is hit, Enter appData.components.UIFigure.CreateFcn='' ;
- Continue with loading the app
- Use "Save as" to save the app with another name
The app with the new name should have no figure createfcn.