- Enclose with " for exact match e.g., "uitable report"
- Advanced on-site Matlab training - amazing value
- Aligning uicontrol contents
- Customizing uifigures part 2
- Zero-testing performance
- AppDesigner’s mlapp file format
- Customizing axes part 5 – origin crossover and labels
- Customizing uifigures part 1
- Listbox selection hacks
- A few parfor tips
- Handling red Java console errors
- MEX ctrl-c interrupt
- Figure window customizations
- rmfield performance
- Viewing saved profiling results
- Transparent labels
- Setting class property types – take 2
- Desktop (39)
- Figure window (44)
- Guest bloggers (56)
- GUI (140)
- Handle graphics (74)
- Hidden property (39)
- Icons (7)
- Java (155)
- Listeners (20)
- Memory (14)
- Mex (11)
- Presumed future risk (337)
- Public presentation (3)
- Semi-documented feature (7)
- Semi-documented function (32)
- Stock Matlab function (124)
- Toolbox (5)
- UI controls (46)
- Uncategorized (12)
- Undocumented feature (176)
- Undocumented function (33)
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
- Malcolm Lidierth (15 hours 35 minutes ago): @Meade You can call jscroll methods in the EDT if you can get a reference to it and call javaObjectEDT on the reference: jscroll=javaObjectEDT(jscroll) If you have problems...
- Meade (19 hours 4 minutes ago): @Malcolm, You’ve got my attention! My situation is that the JScrollPane is actually created by the uitable command. Is it possible to tweak this matlab command in order to...
- Yair Altman (1 day 4 hours ago): @Tom – you are correct. This was simply a typo (jButton instead of hButton). I corrected the main text accordingly.
- Tom (1 day 5 hours ago): Why you getting a handle if you don´t use it? % Assign a Matlab callback hButton = handle(jButton, 'CallbackProperties'); set(jButton, 'ActionPerformedCallback', @myCallback);
- NSReddy (3 days 4 hours ago): Can u help me how to do the ” Alt+S” using Robot Class
- Collin Pecora (3 days 17 hours ago): Is there a way to listen for property changes of ‘pure’ java objects created in matlab? Specificaly, I would like to listen to the value property of a...
- Malcolm Lidierth (3 days 20 hours ago): Meade Create your JScrollPane through a call to >> jscroll=javaObjectEDT(‘j avax.swing.JScrollPane’) ; That on it’s own might(??) fix all your...
- Yair Altman (4 days 0 hours ago): @Karel – feature memstats is a Windows-only feature
- Meade (4 days 0 hours ago): @Malcolm I do not know if they are all on EDT. I’m an absolute java novice, but from reading, I cannot say whether all components are being accessed in the same thread. This...
- Karel Lebeda (4 days 1 hour ago): Is it me, is it Linux, or has this gone (in 2015a)? >> which feature built-in (undocumented) >> feature memstats Error using feature Feature memstats not found >> edit feature...
- Nogo (4 days 5 hours ago): Stop using Matlab as something it was never meant to be. Matlab is a pile of crap and pain in the ass to program with. It´s designed for people who can´t code and refuse to learn a...
- Malcolm Lidierth (4 days 15 hours ago): @Meade Not sure about this. Are your components on the EDT? Are the components visible? You might try a drawnow() and see if that order dependence disappears. Also see...
- Meade (5 days 2 hours ago): @Yair – Thanks so much for the reply. I’ve been using your .list tip to dig into this more deeply and it seems that the new findjobj function returns a different (shorter)...
- Yair Altman (5 days 19 hours ago): @Darin – no, I’ve nothing planned on this topic at this point in time
- Darin (5 days 20 hours ago): Are you planning to do Graph / Digraph?
Search Results for: gui243 relevant articles found:
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
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
…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
…available space for a new label. I could drive the entire content down to make space for it, but that would reduce the usable space for the actual contents, which is already at a premium: Adding a transparent label to Matlab GUI (click for full-size image) A natural place for the new label, as indicated, would be on top of the empty space next to the content’s sub-tabs (Correlation and Backtesting). This empty space is taken up by Matlab&#… 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
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