Small change in App Designer program and now it crashes App Designer

I made a few changes to my program and now this version won't load properly. It crashes App Designer so I can't close it without Task Manager killing all of MATLAB.
Links to code in google drive
Version 98 broken: V98
Version 97 works V97
Permissions opened so anyone with the link can access. Is this a good way to share large programs?
Here is what it looks like when I try to load the broken version:

7 Comments

Upgraded (installed) version to R2025a and that seems to have fixed it. Any ideas why?
Actually NOT fixed. Now it loads ok but it doesn't run right and it crashed MATLAB.
Running back in R2024b update 6. Even though it didn't look right in App Designer after "closing" App Designer once with [x] it un-grayed Run. Starting the program resulted in:
Functionality not supported with figures created with the uifigure function.
Error in MouseOdor99/createComponents (line 3644)
app.ManualRewardsButtonGroup.BorderType = 'etchedin';
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in MouseOdor99 (line 4459)
createComponents(app)
I have no idea where 'etchedin' came from this is not part of the code I wrote:
% Construct app
function app = MouseOdor99
runningApp = getRunningApp(app);
% Check for running singleton app
if isempty(runningApp)
% Create UIFigure and components
createComponents(app)
% Register the app with App Designer
registerApp(app, app.MouseOdor)
It is correct that in R2024b, figures created with uifigure() did not support BorderType 'etchedin', only 'line'.
As of R2025a, 'etchedin' is not supported at all.
Removed 'etchedin' setting. Where does that come from and what does it mean?
It comes from the ButtonGroup container -- the <version history> documents changes and differences between the versions for figure and uifigure which is undoubtedly what Walter was looking at.
I had it as line and even verified that. Random change to etchedin is not appreciated! I had to change it to none and then back to line for it to actually make the change. Good idea to get rid of that mess.

Sign in to comment.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2024b

Tags

Asked:

on 15 Jul 2025

Answered:

on 15 Jul 2025

Community Treasure Hunt

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

Start Hunting!