MATLAB GUI developers often want to have a mini-spreadsheet in their GUI. This can be done with a new widget added to the set of controls available in GUIDE. Now with UITABLE you can add that… read more >>
MATLAB GUI developers often want to have a mini-spreadsheet in their GUI. This can be done with a new widget added to the set of controls available in GUIDE. Now with UITABLE you can add that… read more >>
Sometimes you want something to update in MATLAB on a regular schedule. Timer objects can do that for you. We first introduced this for test and measurement applications, but it has since been moved… read more >>
When MATLAB throws an error, if you are in a function, you will end up at the base workspace and lose access to the variables as they were in the function when the error was thrown. This makes it… read more >>
This short video covers the difference between a “structure of arrays” and an “array of structures”. if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded =… read more >>
There are three inputs to every automatically generated callback from GUIDE: function edit1_Callback(hObject, eventdata, handles) A common question that I am asked is “What is the handles… read more >>
This short video starts with two minutes of trying every widget on the example GUI. Then there is five and a half minutes of showing the callbacks on the widgets. Push button Push button with a… read more >>
It took me a lot of work, but I managed to sneak an easter egg into MATLAB 2008a. It helps to know people who approve the final build that owe you a favor (we are even now, William!) No one has… read more >>
This is a simplified version of the first problem I ever attempted to solve in MATLAB. For my original problem, I was trying to figure out the probability of being on any square in the board game… read more >>
I am trying something new this week: the MATLAB Puzzler. Rather than just work one of the Practical Examples directly, I am doing it in two parts. The first I will pose the MATLAB puzzler and say… read more >>
This is the second video in this series, it shows you how to run a very simplistic optimization. For a simple problem like this one, the algorithm is more than sufficient to find a correct answer to… read more >>