- Enclose with " for exact match e.g., "uitable report"
- Plot markers transparency and color gradient
- Plot line transparency and color gradient
- Customizing axes part 4 – additional properties
- Customizing axes part 3 – Backdrop
- Customizing axes part 2
- Customizing axes rulers
- Customizing combobox popups
- Customizing listbox/combobox items
- savezip utility
- Inter-Matlab data transfer with memcached
- Property value change listeners
- Online (web-based) Matlab
- Class object tab completion & improper field names
- Using pure Java GUI in deployed Matlab apps
- Desktop (34)
- Figure window (34)
- Guest bloggers (43)
- GUI (113)
- Handle graphics (58)
- Hidden property (32)
- Icons (7)
- Java (136)
- Listeners (17)
- Memory (12)
- Mex (9)
- Presumed future risk (273)
- Semi-documented feature (7)
- Semi-documented function (31)
- Stock Matlab function (102)
- Toolbox (2)
- UI controls (39)
- Uncategorized (9)
- Undocumented feature (133)
- Undocumented function (29)
TagsActiveX Callbacks COM Compiler Desktop Donn Shull Editor FindJObj GUI GUIDE Handle graphics HG2 Hidden property HTML Icons Internal component Java JavaFrame JIDE JMI keyboard Listener Malcolm Lidierth Matt Whitaker MCOS Memory Menubar Mex Performance Profiler Pure Matlab schema schema.class schema.prop scribe Semi-documented function Toolbar uicontrol UIInspect uitable uitools uiundo Undocumented feature Undocumented function Undocumented property
- Yair Altman (2 days 8 hours ago): @Christopher – this is because the flat header is used by the new (R2008a+) uitable, whereas the gradient-colored header is used by the “old” uitable...
- Yair Altman (2 days 8 hours ago): A lot of things broke in R2014b due to the replacement of the graphics engine in this release (HG2). There’s probably a new way to do the same functionality in HG2, but I...
- HongKee Yoon (2 days 17 hours ago): @ 2014b this dose not works. Is there any solution to this??
- Christopher (2 days 22 hours ago): In the: Creating multi-line headers section, you have two examples, the first having the flat default matlab tan color on the headers,.. the other has a ’rounded’...
- Paul (3 days 10 hours ago): Thanks, this is useful — setting an alpha component is a better way to visualise density than applying jitter.
- Yair Altman (6 days 2 hours ago): @Gang – there’s a BaseValue property (value=0), but changing it apparently has no effect (at least in R2014b). Maybe this will be fixed in future Matlab releases. Re...
- Yair Altman (6 days 3 hours ago): @Kris – I already answered this above. jFrame = get(handle(hFig), 'JavaFrame'); jFrame.fHG2Client.getWindow.se tEnabled(flag);
- Kris Janssen (6 days 4 hours ago): Hello Yair, I recently took Matlab 2014b for a spin and browsing the Matlab Jar files I found that most of the stuff in com.mathworks.hg.peer is now private or protected....
- Yaroslav (7 days 1 hour ago): That’s absolutely splendid, @Yair! All those years I used a 2×N mesh in order to make a gradient plot, and it turns out to be so simple in HG2. Keep up the good work!
- Jveer (7 days 9 hours ago): @Yair Thanks for the suggestion but ‘drawnow; pause(0.2);’ didn’t work. I did figure it out though. It turns out findobj is creating 6 handles instead of 1...
- Yair Altman (8 days 0 hours ago): @Paul – I plan to cover Marker customizations (including transparency) in next week’s post. Stay tuned
- Paul (9 days 1 hour ago): Have you managed to get the same working for markers? I can’t set the alpha component for MarkerFaceColor, and setting it for Color doesn’t even affect the marker edge: >>...
- Yair Altman (9 days 5 hours ago): @JVeer – it works for me on R2014b (Win7 x64) in the command prompt… I suspect that either your editbox or its containing figure is hidden (in which case findjobj...
- Jveer (9 days 5 hours ago): Hi Yair This functionality seems to break down in R2104b. (I’m using the latest findjobj btw). No appropriate method, property, or field getViewport for class handle.handle....
- Sebastian (10 days 4 hours ago): Yair, thanks for your reply. I’ve tried with your fanstastic uiinspect() function but I was not able to find anything interesting. What I mean is, imagine you have the...
Search Results for: gui195 relevant articles found:
A couple of weeks ago, a reader of this website requested an article about color-selection components. So Ed – this one’s for you Matlab includes a fully-documented uisetcolor function to enable color selection. uisetcolor uses a modal dialog window for this. To integrate this color-selection dialog in our GUI, simply add a uicontrol button or a menu item that call uisetcolor in their callback function. An example of such an integr… Continue reading
I would like to welcome guest writer Takeshi (Kesh) Ikuma. Kesh has posted several interesting utilities on the Matlab File Exchange, including the award-winning Enhanced Input Dialog Box. Today, Kesh will describe how we can automate GUI actions programmatically. Automating GUI actions, including controlling a mouse and keyboard programmatically, is often useful. This can be used, for example, to demonstrate GUI usage or to perform a recorded… Continue reading
Have you ever wondered why Matlab does not have standard GUI date-handling components? Matlab has many built-in date-handling functions (calendar, date, datestr, datenum, datetick, datevec etc.). Unfortunately, this built-in support does not extend to Matlab GUI. If we need a date-selection drop-down or calendar panel we have to design it ourselves, or use a third-party Java component or ActiveX control. JIDE Components Luckily, we have a much… Continue reading
Advanced Matlab training courses/seminars will be held in London, March 10-14, 2014. Two separate courses will be held: Advanced Matlab Programming – 2 days (March 10-11), including best practices, preparing professional reports, writing professional code and performance tuning. US$1199 Advanced Matlab Visualization & GUI – 3 days (March 12-14), including advanced visualization and GUI techniques. US$1799 Enroll to both courses… Continue reading
uitable is probably the most complex basic GUI controls available in Matlab. It displays data in a table within a figure, with settable properties as with any other Matlab Handle-Graphics (HG) control. After many years in which the uitable was available but semi-documented and not officially supported in Matlab, it finally became fully documented and supported in R2008a (aka Matlab 7.6). At that time its internal implementation has changed from… Continue reading
Matlab includes a wide variety of internal widgets (GUI components) that could be very useful in our GUIs. One such widget is an animated spinning icon, which is often used by Matlab itself and numerous toolboxes to illustrate a running task: Sample usage of an animated spinning icon One of the internal widgets that are readily-available for use in our Matlab GUI and displays a similar (but not identical) spinning icon is BusyAffordance, which i… Continue reading
…either directly or because its container was resized. ComponentShownCallback – fired when the component is displayed (setVisible(true)). Compare: ComponentHiddenCallback FocusGainedCallback – fired when the component gains GUI focus, by mouse click, Tab click, or calling the component’s requestFocus() method. FocusLostCallback – fired when the component loses focus to another component or window. Compare: FocusGainedCallback Hierarchy… Continue reading
…ssible to add uicontextmenus to uitree.
Your post saved my time.
Thanks a lot Scott Koch If you have access to the figure handle (stored as User Data for instance) you could also use the click event coordinates to display a GUIDE created context menu:
fh = get(hTree,'UserData');%Get figure handle
cm = findobj(fh,'tag','mycontextmenu');%Get context menu handle.
tpos = get(hTree,'Pixel... Continue reading
When designing Matlab applications, we can either use Matlab’s designer (guide), or manually position each GUI component programmatically, using its Position property. Matlab lacks the layout managers so common in Java, that enable easy relative component positioning, taking into account dynamic container size, components spacing weights etc. Of course, we can always trap the container’s ResizeFcn callback to update our layout, but d… Continue reading