MATLAB Answers

Is it possible to make 'uisetcolor' integrated in GUI?

20 views (last 30 days)
Salad Box
Salad Box on 16 May 2019
Answered: Yi Huang on 12 Feb 2020
I'm trying to build 'uisetcolor' into my GUI.
At the moment, if I run my GUI, the 'uisetcolor' pops up in a seperate window. See below.
What do I need to do in order to make it shown in my GUI interface rather than a stand-alone window?
If you noticed that my uisetcolor interface looks different to the one you know that is because i'm using matlab 2018a so uisetcolor is missing the gradient color picker which is only available in the later matlab version such as 2018b.
Please help.


Sign in to comment.

Answers (2)

Jan on 16 May 2019
Edited: Jan on 16 May 2019
Here you find some examples for color pickers. I assume you can use the code to integrate a color chooser in your GUI.

  1 Comment

Salad Box
Salad Box on 17 May 2019
Whether it is uisetcolors or any of those colour picker in that link you suggested, my question is how to integrate it in the same window as my main GUI rather than it opens in a separate window...

Sign in to comment.

Yi Huang
Yi Huang on 12 Feb 2020
hi,have you solved this problem?


Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by