- Enclose with " for exact match e.g., "uitable report"
- Advanced on-site Matlab training - amazing value
- Transparent labels
- Setting class property types – take 2
- Smart listbox & editbox scrollbars
- Faster findjobj
- Adding a search box to figure toolbar
- Upcoming public Matlab presentations
- Secure SSL connection between Matlab and PostgreSQL
- Customizing contour plots part 2
- Munich Germany visit, 9-11 May 2016
- Better MEX error messages
- Simple GUI Tabs for Advanced Matlab Trading App
- Quirks with compiled Matlab DLLs
- Convolution performance
- I am hiring a Matlab programmer (Tel Aviv)
- Graphic sizing in Matlab R2015b
- Desktop (37)
- Figure window (41)
- Guest bloggers (53)
- GUI (135)
- Handle graphics (72)
- Hidden property (37)
- Icons (7)
- Java (152)
- Listeners (20)
- Memory (14)
- Mex (10)
- Presumed future risk (324)
- Public presentation (2)
- Semi-documented feature (7)
- Semi-documented function (31)
- Stock Matlab function (121)
- Toolbox (5)
- UI controls (44)
- Uncategorized (12)
- Undocumented feature (168)
- Undocumented function (32)
TagsActiveX Callbacks COM Compiler Desktop Donn Shull Editor Figure FindJObj GUI GUIDE Handle graphics HG2 Hidden property HTML Icons Internal component Java JavaFrame JIDE JMI Listener Malcolm Lidierth MCOS Memory Menubar Mex Optical illusion 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 (7 hours 11 minutes ago): @Lukas – Matlab automatically removes transparency when you modify the axes (e.g., by rotation). You could attach a callback listener to the axes’ MarkedClean event...
- Nick Gianopouulos (22 hours 38 minutes ago): @Yair – So you did, I just failed to read the first part of this post for some reason. Lol, I’m honestly in shock over how quick your reply was – thanks...
- Yair Altman (23 hours 7 minutes ago): @Nick – I do not understand your question: at the very top of this post I showed how to use the ColorType and ColorData properties of the TriangleStrip objects in order to...
- Nick Gianopouulos (23 hours 23 minutes ago): Yair, do you know if any of these TriangleStrips properties controls transparency (similar to the FaceAlpha property)? Thanks, Nick Gianopoulos
- Yair Altman (1 day 1 hour ago): Follow-up: http://undocumentedmatlab.com/ blog/transparent-labels
- Simon (1 day 2 hours ago): Matlab typing in general isn’t great. Try this; inceptDate datetime = datetime(,,); % The period start date as datetime Then set it like to the string – '1-Jan-2010'...
- Adam Gogacz (1 day 4 hours ago): I agree with your point. I can think of many simple solutions to type-specification without breaking users’ code all the while sticking to the convention of having the...
- Adam Gogacz (2 days 1 hour ago): @Yair I just checked that “augmentedmatlab.comR 21; domain name is still available
- Adam (2 days 2 hours ago): Thanks, this is certainly interesting. More so for me because I somehow missed your previous post from 3 years ago and knew nothing about the undocumented syntax (or the new documented...
- Yair Altman (2 days 3 hours ago): @Adam – if TMW linked to my blog it wouldn’t be “undocumented” Matlab any longer, would it?
- Adam Gogacz (2 days 4 hours ago): @mySelf The answer is here (http://undocumentedmatlab.com /blog/uicontrol-callbacks#memo ry_leak) thanks for that post. BTW, I wish Mathworks linked to your articles :). Thanks...
- Adam Gogacz (2 days 4 hours ago): Hi, Yair, can you comment on the memory leakage associated with using “set” on Java objects( http://www.mathworks.com/help/ matlab/ref/set.html )? I frequently use...
- Yair Altman (3 days 19 hours ago): @Egon – surely you are not equating the importance of Pascal (which I love, don’t get me wrong) et al, with that of C/C++/C#/Java. By whichever measure that you...
- Egon (4 days 5 hours ago): Cross compatibility – it is very confusing to users coming to Matlab from other programming languages, all of which (without any important exception) place the type name to the LEFT of...
- nirvana-msu (4 days 21 hours ago): True, we add java peers and not uicontrol handles themselves, but at the end of the day it does allow us to effectively manage the layout of arbitrary uicontrols (and java...
Search Results for: gui234 relevant articles found:
Last week I presented a detailed explanation of the uiinspect utility, which displays a GUI listing all the properties, callbacks and internal methods of an inspected object. Something like Matlab’s inspect tool on steroids. I explained that uiinspect uses com.mathworks.mlwidgets.inspector.PropertyView, which in turn uses JIDE’s PropertyTable. PropertyView automatically extracts the inspected object’s properties and displays th… Continue reading
In my previous post, I explained how the findjobj utility can be used to access a Matlab component’s underlying Java component. Findjobj has another role: displaying the component hierarchy of complex Matlab containers such as the figure window, GUIDE or the Editor. When findjobj is called with no output arguments, the function infers that the user requests to see the GUI version, rather than to get the control’s Java handle: >&g… Continue reading
…ccur within the specified number (e.g., fast double-clicks) will be considered by the component as only a single click. The default value of 0 means that all clicks will be processed separately, which is often undesirable in GUI applications. Remember that the value is in milliseconds, not seconds. FlyOverAppearance – boolean flag (default=false); if set, the button appearance is changed to a flat (2D) appearance with a special 3D border… Continue reading
…for example to create graphical insets. Multi-layered graphs, with each layer having independent axes. Figure 2: A multi-layered graph. Each plot has its own graph layer with independent axes. Built-in mouse interactivity and GUIs for interactive plot editing. Figure 3: A plot editor for a single-layered graph. Java programmers might note here the use of a few custom-designed Swing widgets: a dial that subclasses JSlider and supports multiple-tur… 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
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
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 integra… 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
Once again, I welcome guest writer Takeshi (Kesh) Ikuma. Last week, Kesh described how Java’s Robot class can be used to automate Matlab GUI. Today, Kesh will describe two Matlab utilities that help this automation process. jMouseEmu and inputEmu are both available on the Matlab File Exchange. There is a large overlap between these utilities. As their name suggests, jMouseEmu is geared to control the mouse, while inputEmu emulates both mo… Continue reading