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 件のコメント

Gavin
Gavin 2025 年 7 月 15 日
Upgraded (installed) version to R2025a and that seems to have fixed it. Any ideas why?
Gavin
Gavin 2025 年 7 月 15 日
Actually NOT fixed. Now it loads ok but it doesn't run right and it crashed MATLAB.
Gavin
Gavin 2025 年 7 月 15 日
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)
Walter Roberson
Walter Roberson 2025 年 7 月 15 日
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.
Gavin
Gavin 2025 年 7 月 15 日
Removed 'etchedin' setting. Where does that come from and what does it mean?
dpb
dpb 2025 年 7 月 15 日
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.
Gavin
Gavin 2025 年 7 月 15 日
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.

サインインしてコメントする。

 採用された回答

Gavin
Gavin 2025 年 7 月 15 日

0 投票

Good riddance to etchedin!

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品

リリース

R2024b

タグ

質問済み:

2025 年 7 月 15 日

回答済み:

2025 年 7 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by