Doug's MATLAB Video Tutorials

Results for: Level: Advanced

Making a Multi-color Line in MATLAB 2

Posted by Doug Hull,

This video is a follow on to last week’s. Instead of making a line with different colored markers in MATLAB, we will be making a multi-color line in MATLAB. This is actually stretchig the truth a little since lines have exactly one color in MATLAB. What we really... read more >>

uicontextmenu and ButtonDownFcn in MATLAB 5

Posted by Doug Hull,

When you use ButtonDownFcn in MATLAB, your callback is given an automatic input called hObject. This hObject is the handle of the object that you interacted with to invoke the callback, which makes it easy to define behavior based on the selected object. This is a little trickier when working... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.