colormapeditor
2 views (last 30 days)
Show older comments
Hi,
I would like to use colormapeditor inside a GUI, and I want a pause in the program that waits for me to finish with the colormap settings and then to continue in the code. I don't know how to make this pause, and to test if the user pressed OK, apply or other button inside colormapeditor. In other words I want to get the button that was pressed and then to continue in the code. Any suggestions?
Thanks,
Razvan
0 Comments
Answers (1)
Naz
on 16 Nov 2011
Quick way to fix the problem is:
colormapeditor;
pause;
%conntinue your code
With this, after the colormap editor appears, you can do whatever you need, then close it by clicking OK and after press any key to resume the program.
See Also
Categories
Find more on Colormaps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!