Is it possible to make 'uisetcolor' integrated in GUI?
4 次查看(过去 30 天)
显示 更早的评论
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/219838/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.
0 个评论
回答(3 个)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1680486/image.png)
You can read more about the new color picker in this blog post: Introducing the Color Picker Component
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!