- Enclose with " for exact match e.g., "uitable report"
- Advanced on-site Matlab training - amazing value
- 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
- 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
- Desktop (39)
- Figure window (42)
- Guest bloggers (54)
- GUI (136)
- Handle graphics (72)
- Hidden property (38)
- Icons (7)
- Java (154)
- Listeners (20)
- Memory (14)
- Mex (11)
- Presumed future risk (329)
- Public presentation (2)
- Semi-documented feature (7)
- Semi-documented function (32)
- Stock Matlab function (123)
- Toolbox (5)
- UI controls (44)
- Uncategorized (12)
- Undocumented feature (170)
- 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
- Momo (7 hours 43 minutes ago): Please refer to this : http://www.bestcssbuttongenera tor.com/
- Momo (7 hours 43 minutes ago): I apologise this is the correct HTML Code : (‘green‘)
- Momo (7 hours 46 minutes ago): @Yair Thank you for your reply. I have been trying to include a css file for a while but I always get the html code as a string on the button. Can you help me with this issue ? Please...
- Yair Altman (9 hours 4 minutes ago): @Momo – yes, you can include CSS in your controls, even those created using GUIDE. Simply update the control’s String property to include the relevant HTML info. For...
- Momo (9 hours 22 minutes ago): Is it possible to integrate CSS to Matlab Guide ? I am trying to create one of the buttons here : https://codepen.io/bartekd/pen /qFsDf in my Matlab Guide figure. Is it feasible ?...
- Yair Altman (13 hours 0 minutes ago): @Xiangrui – I’m glad I helped. I should have emphasized in the post text that not all suggested remedies work in all cases; in some cases some of them work and in...
- Xiangrui Li (23 hours 9 minutes ago): Wow, this post is just in time for me! I am experiencing the exact problem recently since I start to use DefaultListModel. I figured out drawnow reduces the chance of red...
- Yair Altman (1 day 10 hours ago): A video of my Expo presentation became available today on the MathWorks website.
- Malcolm Lidierth (1 day 18 hours ago): A couple of general comments: pause(0.05); drawnow; % this never hurt anyone! Flushing the event queue unnecessarily can hurt when large data sets are displayed. Repaints...
- Sam Roberts (2 days 0 hours ago): Yes, R2016b has the same behaviour.
- Knut A Meyer (2 days 9 hours ago): Thanks for the quick reply Yair! I didn’t get how you identify the process ID of the called process though…? Perhaps something very easy I’m missing? But, I...
- Yasser ElNemr (2 days 10 hours ago): Hallo , Thanks for the great work. i used it in several applications and it is working perfectly. However in my current application i need the root node to point to a specific...
- Kyle (3 days 2 hours ago): Is anyone aware if this is still the behavior in the newest Matlab version, 2016b? We have a very large suite of classes that now need to be sifted through to verify we’re not...
- Yair Altman (3 days 6 hours ago): @Knut – you can use the tasklist command on Windows. For example: >> procId = feature('getPID'); % Matlab's own process ID >> str = evalc('system([''tasklist /v /fi "PID...
- Knut A Meyer (3 days 7 hours ago): Thanks Yair for this interesting series! I found the ability of having more control over the external calls appealing. Do you know if there is a command for checking if a...
Search Results for: gui237 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
…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
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
…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