Stuart’s MATLAB Videos

Watch and Learn

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Trying Out inputparser

Posted by Stuart McGarrity,

I’m going to try to use inputparser for the first time, to specify name-value pair parameters for my function.
Its been around for several years but I haven’t used it. Typically my functions are “old school” where parameters need to be in certain positions. I use varargin for optional additional parameters,… read more >>

Debugging a Failed File Import

Posted by Stuart McGarrity,

One of my continuously running MATLAB scripts just failed and has stopped at a breakpoint (I had set dbstop if error). So I need to debug it to understand why and fix it.
Features covered in this code-along style video include:

string arrays and processing with split, ismember, extractBefore
Debugging in general

Follow me…

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