Useful links
Recent Posts
- Improving graphics interactivity
- Interesting Matlab puzzle – analysis
- Interesting Matlab puzzle
- Undocumented plot marker types
- Matlab toolstrip – part 9 (popup figures)
- Matlab toolstrip – part 8 (galleries)
- Matlab toolstrip – part 7 (selection controls)
- Matlab toolstrip – part 6 (complex controls)
- Matlab toolstrip – part 5 (icons)
- Matlab toolstrip – part 4 (control customization)
- Reverting axes controls in figure toolbar
- Matlab toolstrip – part 3 (basic customization)
- Matlab toolstrip – part 2 (ToolGroup App)
- Matlab toolstrip – part 1
- Matlab callbacks for uifigure JavaScript events
Archives
Categories
- Desktop (45)
- Figure window (59)
- Guest bloggers (65)
- GUI (165)
- Handle graphics (84)
- Hidden property (42)
- Icons (15)
- Java (174)
- Listeners (22)
- Memory (16)
- Mex (13)
- Presumed future risk (393)
- Public presentation (6)
- Semi-documented feature (10)
- Semi-documented function (35)
- Stock Matlab function (139)
- Toolbox (9)
- UI controls (52)
- Uncategorized (13)
- Undocumented feature (217)
- Undocumented function (37)
Tags
AppDesigner 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 Semi-documented feature Semi-documented function Toolbar Toolstrip uicontrol uifigure UIInspect uitools Undocumented feature Undocumented function Undocumented propertyRecent Comments
- Antonio (13 days 10 hours ago): Note Intel’s MKL implementations of BLAS/LAPACK are already multi-threaded, so it is likely that you won’t achieve a vast improvement (the overall performance could even...
- Testing 123 (251 days 2 hours ago): The mexCallMATLAB function raises interesting possibilities for parallelization. I spent a few hours (days…) writing a mexFunction that mimics the functionality of...
- Andrés Aguilar (390 days 0 hours ago): Hello, has anyone tried to change the language of the DateComboBox? For example English -> French ———— 8212;—- January -> Janvier April...
- Yair Altman (682 days 4 hours ago): You didn’t say what code you were trying to run and what exactly didn’t work for you, so I cannot help you. In general I can say that the code still works ok on...
- Nicholas (684 days 1 hour ago): It has come to my attention that in R2022a the content for HtmlText and CurrentLocation cannot be set for an HTMLBrowserPanel object. This can be easily demonstrated in R2022a with...
- bryan taylor (685 days 8 hours ago): I’m using matlab r2021a. The command above don’t seem to work. The commands run without error but the changes do no effect the text box.
- Yair Altman (702 days 9 hours ago): @Mitchell – in most cases the user wants a single string identifier for the computer, that uniquely identifies it with a distinct fingerprint that is different from any other...
- Mitchell (702 days 17 hours ago): Great post! I’m not very familiar with the network interfaces being referenced here, but it seems like the java-based cross-platform method concatenates all network...
- Eric (751 days 6 hours ago): this save me a lot of time, thank you very much!
- Yair Altman (1073 days 2 hours ago): You forgot to wait for the figure and the axes to fully render. After a pause and drawnow the code works ok (at least in R2021a).
- Anton Semechko (1073 days 2 hours ago): Hi, Yair, Do you know why is it impossible to add listeners to any of the uiobjects in UIFigure? And is there some way to work around this limitation? For example:...
- Davide Coluzzi (1108 days 1 hour ago): Hello, I have just found out this website and the book, they are great! Many thanks for this. I am developing a GUI in Matlab and I added a uiimage to receive info, so that...
- Yair Altman (1225 days 7 hours ago): drawnow is the entry function to Matlab graphics updates, which chains numerous internal drawing/painting calls, as well as associated callbacks (internal and user-defined)....
- Ondrej (1225 days 8 hours ago): Hi Yair, I have a slightly off-topic question. I am using Matlab 2017a and when using drawnow to refresh the graphics I noticed in the profiler (with -memory option on) this: Code...
- Florian (1456 days 15 hours ago): Hello Yair thank you for this work. I am trying to using the sorting function but obviously it treat my ‘double’ as ‘string’. Then the sorting of the numbers...
Contact Us
Category Archives: Mex
13 relevant articles found:Multi-threaded Mex
Tips for creating and debugging multi-threaded Mex functions are discussed.
Categories: Low risk of breaking in future versions, Mex, Undocumented feature
Tags: Mex, Performance, Undocumented feature
6 Comments
Tags: Mex, Performance, Undocumented feature
6 Comments
Faster csvwrite/dlmwrite
The speed of the builtin csvwrite, dlmwrite functions can be improved dramatically.
Categories: Low risk of breaking in future versions, Mex, Undocumented feature
Tags: Mex, Performance, Pure Matlab, Undocumented feature
5 Comments
Tags: Mex, Performance, Pure Matlab, Undocumented feature
5 Comments
MEX ctrl-c interrupt
An undocumented MEX function can help interrupt running MEX functions.
Categories: High risk of breaking in future versions, Mex
Tags: Internal component, Mex, Pavel Holoborodko, Undocumented function
5 Comments
Tags: Internal component, Mex, Pavel Holoborodko, Undocumented function
5 Comments
Better MEX error messages
The default clunky and release-incompatible MEX error messages can be improved using a simple hack.
Undocumented feature list
A list of undocumented MATLAB features can be retrieved. Here’s how…
Categories: High risk of breaking in future versions, Mex, Undocumented function
Tags: Mex, Pure Matlab, Undocumented function
4 Comments
Tags: Mex, Pure Matlab, Undocumented function
4 Comments
Explicit multi-threading in Matlab part 3
Matlab performance can be improved by employing POSIX threads in C/C++ code.
Categories: Low risk of breaking in future versions, Mex, Undocumented feature
Tags: Mex, Performance, Undocumented feature
4 Comments
Tags: Mex, Performance, Undocumented feature
4 Comments
Serializing/deserializing Matlab data
Matlab does not provide a documented manner to serialize data into a byte stream, but we can do this with some undocumented functionality.
Accessing private object properties
Private properties of Matlab class objects can be accessed (read and write) using some undocumented techniques.
Categories: High risk of breaking in future versions, Mex, Undocumented feature
Tags: MCOS, Mex, Performance, Undocumented feature
2 Comments
Tags: MCOS, Mex, Performance, Undocumented feature
2 Comments
Undocumented Matlab MEX API
Matlab’s MEX API contains numerous undocumented functions, that can be extremely useful.
Parsing mlint (Code Analyzer) output
The Matlab Code Analyzer (mlint) has a lot of undocumented functionality just waiting to be used.