MATLAB Answers

Running uisetcolor Crushes my Compiled application

12 views (last 30 days)
Mika on 1 May 2021
Commented: Steven Lord on 6 May 2021
When I run my compiled app designer application, uisetcolor crashes the application.
In order to be sure, I created a small app with one button that runs only one callback with one line that calls that function. Compiling with rutime downloaded or runtime include lead to the same result. Does anyone know what might be the problem?
Shan Huang
Shan Huang on 5 May 2021
Having the same issue, uisetcolor works fine in app designer, but makes my compiled app crash.
- I am using R2021a (

Sign in to comment.

Answers (2)

Winston Lin
Winston Lin on 6 May 2021
Thank you for the question. We are aware of this issue and have found the root cause. It will be fixed in MATLAB R2021a Update 2, which will be out soon. Sorry for the inconvenience this issue has caused you.




Community Treasure Hunt

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

Start Hunting!

Translated by