Access various icon images to use with uicontrols

4 ビュー (過去 30 日間)
Justin Solomon
Justin Solomon 2013 年 3 月 10 日
Is it possible to access the icon images of the various buttons and uicontrols found throughout matlab?
Specifically, I am writing a GUI where I include a pushbutton that calls imcontrast(). I would like to make this button look just like the contrast button in imtool(). I know I can set the CData property of the pushbutton to an image. I just don't know how I can get my hands on the image used for that contrast button in imtool(). Any ideas?
Thanks, Justin
  1 件のコメント
Justin Solomon
Justin Solomon 2013 年 3 月 10 日
In case anyone is interested. I did some digging around the imtool() file. There's a function called ipticondir(). It returns the directories of various icon images.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeExplore and Edit Images with Image Viewer App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by