From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Quick uicontrol question (popupmenu)
Date: Sat, 2 Oct 2010 18:49:03 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 19
Message-ID: <i87uqv$hd$>
References: <>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1286045343 557 (2 Oct 2010 18:49:03 GMT)
NNTP-Posting-Date: Sat, 2 Oct 2010 18:49:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: comp.soft-sys.matlab:675312

Chris <> wrote in message <>...
> Hey, a quick question; what is the command to show the popupmenu's selection list? uicontrol(handle) doesn't work and I can't see a solution in the documentation, thanks!.

There is no documented way to do this, but you can use one of the following undocumented ways, mentioned by Matt and Walter:

1. Using FindJObj - 
a) Download the FINDJOBJ utility from the Matlab File Exchange -
b) Unzip FindJObj in your favorite Matlab path
c) Use FindJObj as follows:
hPopup=uicontrol('style','popup','string',{'a','b','c'});  % create popupmenu
jPopup = findjobj(hPopup);
jPopup.showPopup;  % so simple!

You can use the UIInspect utility to check all the properties and methods that jPopup supports -

2. Using Robot - see explanation here: 

Yair Altman