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

조회 수: 2 (최근 30일)
Salad Box
Salad Box 2019년 5월 16일
편집: Jasmine Poppick 2024년 4월 26일
Hi
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.
Untitled.png
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.

답변 (3개)

Jan
Jan 2019년 5월 16일
편집: Jan 2019년 5월 16일
Here you find some examples for color pickers. I assume you can use the code to integrate a color chooser in your GUI.
  댓글 수: 1
Salad Box
Salad Box 2019년 5월 17일
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...

댓글을 달려면 로그인하십시오.


Yi Huang
Yi Huang 2020년 2월 12일
hi,have you solved this problem?

Jasmine Poppick
Jasmine Poppick 2024년 4월 26일
편집: Jasmine Poppick 2024년 4월 26일
Starting in R2024a, you can create a color picker that's shown in an app window by using the uicolorpicker function or, in App Designer, by dragging a color picker UI component from the Component Library onto the canvas.
You can read more about the new color picker in this blog post: Introducing the Color Picker Component

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by